We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 19 | class ExecutorTest extends \PHPUnit_Framework_TestCase |
||
| 20 | { |
||
| 21 | /** @var Executor */ |
||
| 22 | private $executor; |
||
| 23 | |||
| 24 | private $request = ['query' => 'query debug{ myField }', 'variables' => [], 'operationName' => null]; |
||
| 25 | |||
| 26 | public function setUp() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @expectedException \RuntimeException |
||
| 45 | * @expectedExceptionMessage Execution result should be an object instantiating "GraphQL\Executor\ExecutionResult". |
||
| 46 | */ |
||
| 47 | public function testInvalidExecutorReturnNotObject() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @expectedException \RuntimeException |
||
| 55 | * @expectedExceptionMessage Execution result should be an object instantiating "GraphQL\Executor\ExecutionResult". |
||
| 56 | */ |
||
| 57 | public function testInvalidExecutorReturnInvalidObject() |
||
| 62 | |||
| 63 | public function testDisabledDebugInfo() |
||
| 67 | |||
| 68 | public function testEnabledDebugInfo() |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @expectedException \RuntimeException |
||
| 79 | * @expectedExceptionMessage At least one schema should be declare. |
||
| 80 | */ |
||
| 81 | public function testGetSchemaNoSchemaFound() |
||
| 85 | } |
||
| 86 |