Skip to content

Commit 1fc9471

Browse files
committed
Update ReferencesTest.php To Use A More Realistic Parameter
Update ReferencesTest.php To Use A More Realistic Parameter
1 parent 2856710 commit 1fc9471

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Github/Tests/Api/GitData/ReferencesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ public function shouldGetAllMatchingReferences()
8181
$api = $this->getApiMock();
8282
$api->expects($this->once())
8383
->method('get')
84-
->with('/repos/l3l0/l3l0repo/git/matching-refs/refName')
84+
->with('/repos/l3l0/l3l0repo/git/matching-refs/heads/refName')
8585
->will($this->returnValue($expectedValue));
8686

87-
$this->assertEquals($expectedValue, $api->matching('l3l0', 'l3l0repo', 'refName'));
87+
$this->assertEquals($expectedValue, $api->matching('l3l0', 'l3l0repo', 'heads/refName'));
8888
}
8989

9090
/**

0 commit comments

Comments
 (0)