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 fa96117 commit b4e6630Copy full SHA for b4e6630
tests/ServerTest.php
@@ -509,7 +509,11 @@ public function testDebugExceptions()
509
510
public function testHandleRequest()
511
{
512
- $mock = $this->getMock('GraphQL\Server', ['readInput', 'produceOutput']);
+ $mock = $this->getMockBuilder('GraphQL\Server')
513
+ ->setMethods(['readInput', 'produceOutput'])
514
+ ->getMock()
515
+ ;
516
+
517
$mock->method('readInput')
518
->will($this->returnValue(json_encode(['query' => '{err}'])));
519
0 commit comments