We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f66ef commit 3e9da2bCopy full SHA for 3e9da2b
phpunit.xml.dist
@@ -8,13 +8,13 @@
8
convertWarningsToExceptions="true"
9
processIsolation="false"
10
stopOnFailure="false"
11
- syntaxCheck="false"
12
- bootstrap="vendor/autoload.php"
+ bootstrap="tests/Bootstrap.php"
13
>
14
<testsuites>
15
<testsuite name="GraphQLite Test Suite">
16
<directory>./tests/</directory>
17
<exclude>./tests/dependencies/</exclude>
+ <exclude>./tests/Bootstrap.php</exclude>
18
</testsuite>
19
</testsuites>
20
tests/Bootstrap.php
@@ -0,0 +1,9 @@
1
+<?php
2
+
3
+use Doctrine\Common\Annotations\AnnotationRegistry;
4
5
+$autoloader = require_once __DIR__ . '/../vendor/autoload.php';
6
7
+AnnotationRegistry::registerLoader('class_exists');
+return $autoloader;
0 commit comments