summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-12-21 10:46:36 +0100
committerRemi Collet <remi@remirepo.net>2020-12-21 10:46:36 +0100
commitd95d8e733975c76e907b33a17354af74a26dadea (patch)
tree88c63cc420b80dc8a066407298ff538c57715d33
parent8931d2aab62ee3a1406ae4a12eaf1b050b1df681 (diff)
improve tests
-rw-r--r--php-tecnickcom-tc-lib-color.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/php-tecnickcom-tc-lib-color.spec b/php-tecnickcom-tc-lib-color.spec
index bf7f103..7153a3a 100644
--- a/php-tecnickcom-tc-lib-color.spec
+++ b/php-tecnickcom-tc-lib-color.spec
@@ -84,10 +84,10 @@ cp -pr src %{buildroot}%{php_project}
%check
%if %{with_tests}
mkdir vendor
-cat <<EOF | tee vendor/autoload.php
+cat << 'EOF' | tee vendor/autoload.php
<?php
require '%{buildroot}%{php_project}/autoload.php';
-require dirname(__DIR__) . '/test/TestUtil.php';
+\Fedora\Autoloader\Autoload::addPsr4('Test\\', dirname(__DIR__) . '/test');
EOF
ret=0