Skip to content

Commit 406e848

Browse files
committed
Fix the UserTest according to the new expected arguments structure.
1 parent ea22c84 commit 406e848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Github/Tests/Api/UserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function shouldGetUserRepositories()
139139
$api = $this->getApiMock();
140140
$api->expects($this->once())
141141
->method('get')
142-
->with('users/l3l0/repos', array('owner', 'full_name', 'asc'))
142+
->with('users/l3l0/repos', array('type' => 'owner', 'sort' => 'full_name', 'direction' => 'asc'))
143143
->will($this->returnValue($expectedArray));
144144

145145
$this->assertEquals($expectedArray, $api->repositories('l3l0'));

0 commit comments

Comments
 (0)