File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ mod tests {
176
176
use serde_json:: { self , json} ;
177
177
178
178
fn api ( ) -> Api {
179
- Api :: new ( Some ( Url :: parse ( & mockito:: server_url ( ) ) . unwrap ( ) ) ) . unwrap ( )
179
+ Api :: new ( Some ( Url :: parse ( & mockito:: server_url ( ) ) . unwrap ( ) ) , 1 ) . unwrap ( )
180
180
}
181
181
182
182
#[ test]
@@ -190,13 +190,17 @@ mod tests {
190
190
"id" : 1 ,
191
191
"login" : "the_first_owner" ,
192
192
"name" : "name" ,
193
- "avatar" : "http://something"
193
+ "avatar" : "http://something" ,
194
+ "kind" : "user" ,
195
+ "url" : "https://github.com/the_second_owner"
194
196
} ,
195
197
{
196
198
"id" : 2 ,
197
199
"login" : "the_second_owner" ,
198
200
"name" : "another name" ,
199
- "avatar" : "http://anotherthing"
201
+ "avatar" : "http://anotherthing" ,
202
+ "kind" : "user" ,
203
+ "url" : "https://github.com/the_second_owner"
200
204
}
201
205
] } ) )
202
206
. unwrap ( ) ,
You can’t perform that action at this time.
0 commit comments