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 9bc5675 commit f2b6490Copy full SHA for f2b6490
test/Github/Tests/Api/Repository/ContentsTest.php
@@ -67,13 +67,13 @@ public function getFailureStubsForExistsTest()
67
}
68
69
/**
70
+ * @param \PHPUnit_Framework_MockObject_Stub|\PHPUnit\Framework\MockObject\Stub\Exception
71
+ *
72
* @test
73
* @dataProvider getFailureStubsForExistsTest
74
*/
- public function shouldReturnFalseWhenFileIsNotFound(\PHPUnit_Framework_MockObject_Stub $failureStub)
75
+ public function shouldReturnFalseWhenFileIsNotFound($failureStub)
76
{
- $expectedValue = array('some-header' => 'value');
-
77
$api = $this->getApiMock();
78
$api->expects($this->once())
79
->method('head')
0 commit comments