Skip to content

Commit

Permalink
Merge 3c4e907 into a5d2497
Browse files Browse the repository at this point in the history
  • Loading branch information
moufmouf authored Oct 14, 2019
2 parents a5d2497 + 3c4e907 commit cfdf365
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="vendor/autoload.php"
bootstrap="tests/Bootstrap.php"
>
<testsuites>
<testsuite name="GraphQLite Test Suite">
<directory>./tests/</directory>
<exclude>./tests/dependencies/</exclude>
<exclude>./tests/Bootstrap.php</exclude>
</testsuite>
</testsuites>

Expand Down
9 changes: 9 additions & 0 deletions tests/Bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

use Doctrine\Common\Annotations\AnnotationRegistry;

$autoloader = require_once __DIR__ . '/../vendor/autoload.php';

AnnotationRegistry::registerLoader('class_exists');

return $autoloader;

0 comments on commit cfdf365

Please sign in to comment.