Skip to content

Commit 6e896d4

Browse files
author
corbosman
committed
fix shouldGetAllOrganizations test
1 parent b9e639c commit 6e896d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Github/Tests/Api/OrganizationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ public function shouldGetAllOrganizations()
1414
$api = $this->getApiMock();
1515
$api->expects($this->once())
1616
->method('get')
17-
->with('organizations')
17+
->with('organizations?since=1')
1818
->will($this->returnValue($expectedValue));
1919

20-
$this->assertEquals($expectedValue, $api->all());
20+
$this->assertEquals($expectedValue, $api->all(1));
2121
}
2222

2323
/**

0 commit comments

Comments
 (0)