Skip to content

Commit c582607

Browse files
committed
Fixed test for Teams->show()
1 parent 30858c5 commit c582607

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Github/Tests/Api/Organization/TeamsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ public function shouldShowOrganizationTeam()
6969
$api = $this->getApiMock();
7070
$api->expects($this->once())
7171
->method('get')
72-
->with('orgs/KnpLabs/teams/KnpWorld')
72+
->with('teams/KnpWorld')
7373
->will($this->returnValue($expectedValue));
7474

75-
$this->assertEquals($expectedValue, $api->show('KnpLabs', 'KnpWorld'));
75+
$this->assertEquals($expectedValue, $api->show('KnpWorld'));
7676
}
7777

7878
/**

0 commit comments

Comments
 (0)