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 4a5dc4b commit 1733aa7Copy full SHA for 1733aa7
test/Gitlab/Tests/Api/GroupsTest.php
@@ -57,11 +57,11 @@ public function shouldSearchGroups()
57
$api = $this->getApiMock();
58
$api->expects($this->once())
59
->method('get')
60
- ->with('groups?search=group', array('page' => 1, 'per_page' => AbstractApi::PER_PAGE))
+ ->with('groups?search=some%20group', array('page' => 1, 'per_page' => AbstractApi::PER_PAGE))
61
->will($this->returnValue($expectedArray))
62
;
63
64
- $this->assertEquals($expectedArray, $api->search('group'));
+ $this->assertEquals($expectedArray, $api->search('some group'));
65
}
66
67
/**
0 commit comments