Skip to content

Commit 1733aa7

Browse files
author
Matt Humphrey
committed
Updated Group search test to be more inline with rawurlencode() update (#81)
1 parent 4a5dc4b commit 1733aa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Gitlab/Tests/Api/GroupsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ public function shouldSearchGroups()
5757
$api = $this->getApiMock();
5858
$api->expects($this->once())
5959
->method('get')
60-
->with('groups?search=group', array('page' => 1, 'per_page' => AbstractApi::PER_PAGE))
60+
->with('groups?search=some%20group', array('page' => 1, 'per_page' => AbstractApi::PER_PAGE))
6161
->will($this->returnValue($expectedArray))
6262
;
6363

64-
$this->assertEquals($expectedArray, $api->search('group'));
64+
$this->assertEquals($expectedArray, $api->search('some group'));
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)