diff options
-rw-r--r-- | php-tecnickcom-tc-lib-color.spec | 4 |
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 |