From 4e6d431fa7aa30026a281b0d635bec6dadfd7d2b Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Wed, 19 Oct 2016 07:29:05 +0200 Subject: [PATCH] Fixed broken test on php 5.5 --- test/Github/Tests/ResultPagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Github/Tests/ResultPagerTest.php b/test/Github/Tests/ResultPagerTest.php index 317cefedb5b..2215d064203 100644 --- a/test/Github/Tests/ResultPagerTest.php +++ b/test/Github/Tests/ResultPagerTest.php @@ -101,7 +101,7 @@ public function testFetch() $result = 'foo'; $method = 'bar'; $parameters = array('baz'); - $api = $this->createMock('Github\Api\ApiInterface'); + $api = $this->getMockBuilder('Github\Api\ApiInterface')->getMock(); $paginator = $this->getMockBuilder('Github\ResultPager') ->disableOriginalConstructor()