Skip to content

Commit f2152a6

Browse files
long form
1 parent 130b248 commit f2152a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/AbstractRequesterTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ protected function setUp()
2222
{
2323
parent::setUp();
2424

25-
$this->requester = $this->getMockForAbstractClass('ByJG\ApiTools\AbstractRequester');
25+
$this->requester = $this->getMockBuilder(AbstractRequester::class)
26+
->setMethods(['handleRequest'])
27+
->disableOriginalConstructor()
28+
->getMock();
2629

2730
$this->schema = $this->getMockBuilder(Schema::class)
2831
->disableOriginalConstructor()

0 commit comments

Comments
 (0)