We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca59785 commit 69e82d6Copy full SHA for 69e82d6
test/Github/Tests/Api/Organization/TeamsTest.php
@@ -126,6 +126,22 @@ public function shouldGetTeamRepositories()
126
{
127
$expectedValue = [['name' => 'l3l0repo']];
128
129
+ $api = $this->getApiMock();
130
+ $api->expects($this->once())
131
+ ->method('get')
132
+ ->with('/orgs/KnpLabs/teams/KnpWorld/repos')
133
+ ->will($this->returnValue($expectedValue));
134
+
135
+ $this->assertEquals($expectedValue, $api->repositories('KnpWorld', 'KnpLabs'));
136
+ }
137
138
+ /**
139
+ * @test
140
+ */
141
+ public function shouldGetTeamRepositoriesViaLegacy()
142
+ {
143
+ $expectedValue = [['name' => 'l3l0repo']];
144
145
$api = $this->getApiMock();
146
$api->expects($this->once())
147
->method('get')
0 commit comments