File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ mod tests {
176176 use serde_json:: { self , json} ;
177177
178178 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 ( )
180180 }
181181
182182 #[ test]
@@ -190,13 +190,17 @@ mod tests {
190190 "id" : 1 ,
191191 "login" : "the_first_owner" ,
192192 "name" : "name" ,
193- "avatar" : "http://something"
193+ "avatar" : "http://something" ,
194+ "kind" : "user" ,
195+ "url" : "https://github.com/the_second_owner"
194196 } ,
195197 {
196198 "id" : 2 ,
197199 "login" : "the_second_owner" ,
198200 "name" : "another name" ,
199- "avatar" : "http://anotherthing"
201+ "avatar" : "http://anotherthing" ,
202+ "kind" : "user" ,
203+ "url" : "https://github.com/the_second_owner"
200204 }
201205 ] } ) )
202206 . unwrap ( ) ,
You can’t perform that action at this time.
0 commit comments