Skip to content

Commit edddf01

Browse files
authored
Merge pull request KnpLabs#453 from Nyholm/issue-442
Fixed test for KnpLabs#442
2 parents ccefc73 + 1a01e28 commit edddf01

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,6 @@ public function shouldCreateHook()
101101
$this->assertEquals($expectedValue, $api->create('KnpLabs', 'php-github-api', $data));
102102
}
103103

104-
/**
105-
* @test
106-
* @expectedException \Github\Exception\MissingArgumentException
107-
*/
108-
public function shouldNotUpdateHookWithoutName()
109-
{
110-
$data = array('config' => 'someconf');
111-
112-
$api = $this->getApiMock();
113-
$api->expects($this->never())
114-
->method('patch');
115-
116-
$api->update('KnpLabs', 'php-github-api', 123, $data);
117-
}
118-
119104
/**
120105
* @test
121106
* @expectedException \Github\Exception\MissingArgumentException

0 commit comments

Comments
 (0)