@@ -16,7 +16,7 @@ public function shouldSearchRepositoriesByQuery()
16
16
$ api ->expects ($ this ->once ())
17
17
->method ('get ' )
18
18
->with (
19
- '/ search/repositories ' ,
19
+ 'search/repositories ' ,
20
20
array ('q ' => 'query text ' , 'sort ' => 'updated ' , 'order ' => 'desc ' )
21
21
)
22
22
->will ($ this ->returnValue ($ expectedArray ));
@@ -36,7 +36,7 @@ public function shouldSearchRepositoriesRegardingSortAndOrder()
36
36
$ api ->expects ($ this ->once ())
37
37
->method ('get ' )
38
38
->with (
39
- '/ search/repositories ' ,
39
+ 'search/repositories ' ,
40
40
array ('q ' => 'query text ' , 'sort ' => 'created ' , 'order ' => 'asc ' )
41
41
)
42
42
->will ($ this ->returnValue ($ expectedArray ));
@@ -59,7 +59,7 @@ public function shouldSearchIssuesByQuery()
59
59
$ api ->expects ($ this ->once ())
60
60
->method ('get ' )
61
61
->with (
62
- '/ search/issues ' ,
62
+ 'search/issues ' ,
63
63
array ('q ' => 'query text ' , 'sort ' => 'updated ' , 'order ' => 'desc ' )
64
64
)
65
65
->will ($ this ->returnValue ($ expectedArray ));
@@ -79,7 +79,7 @@ public function shouldSearchIssuesRegardingSortAndOrder()
79
79
$ api ->expects ($ this ->once ())
80
80
->method ('get ' )
81
81
->with (
82
- '/ search/issues ' ,
82
+ 'search/issues ' ,
83
83
array ('q ' => 'query text ' , 'sort ' => 'created ' , 'order ' => 'asc ' )
84
84
)
85
85
->will ($ this ->returnValue ($ expectedArray ));
@@ -102,7 +102,7 @@ public function shouldSearchCodeByQuery()
102
102
$ api ->expects ($ this ->once ())
103
103
->method ('get ' )
104
104
->with (
105
- '/ search/code ' ,
105
+ 'search/code ' ,
106
106
array ('q ' => 'query text ' , 'sort ' => 'updated ' , 'order ' => 'desc ' )
107
107
)
108
108
->will ($ this ->returnValue ($ expectedArray ));
@@ -122,7 +122,7 @@ public function shouldSearchCodeRegardingSortAndOrder()
122
122
$ api ->expects ($ this ->once ())
123
123
->method ('get ' )
124
124
->with (
125
- '/ search/code ' ,
125
+ 'search/code ' ,
126
126
array ('q ' => 'query text ' , 'sort ' => 'created ' , 'order ' => 'asc ' )
127
127
)
128
128
->will ($ this ->returnValue ($ expectedArray ));
@@ -145,7 +145,7 @@ public function shouldSearchUsersByQuery()
145
145
$ api ->expects ($ this ->once ())
146
146
->method ('get ' )
147
147
->with (
148
- '/ search/users ' ,
148
+ 'search/users ' ,
149
149
array ('q ' => 'query text ' , 'sort ' => 'updated ' , 'order ' => 'desc ' )
150
150
)
151
151
->will ($ this ->returnValue ($ expectedArray ));
@@ -165,7 +165,7 @@ public function shouldSearchUsersRegardingSortAndOrder()
165
165
$ api ->expects ($ this ->once ())
166
166
->method ('get ' )
167
167
->with (
168
- '/ search/users ' ,
168
+ 'search/users ' ,
169
169
array ('q ' => 'query text ' , 'sort ' => 'created ' , 'order ' => 'asc ' )
170
170
)
171
171
->will ($ this ->returnValue ($ expectedArray ));
0 commit comments