Skip to content

Commit 7c0c814

Browse files
authored
Update HooksTest.php
1 parent 76510c3 commit 7c0c814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Github/Tests/Api/Repository/HooksTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function shouldTestHook()
144144
$api = $this->getApiMock();
145145
$api->expects($this->once())
146146
->method('post')
147-
->with('/repos/KnpLabs/php-github-api/hooks/123/test')
147+
->with('/repos/KnpLabs/php-github-api/hooks/123/tests')
148148
->will($this->returnValue($expectedValue));
149149

150150
$this->assertEquals($expectedValue, $api->test('KnpLabs', 'php-github-api', 123));

0 commit comments

Comments
 (0)