File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
test/RestSharp.IntegrationTests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ public async Task Query_Parameters_With_Json_Body() {
108
108
. AddQueryParameter ( "key" , "value" ) ;
109
109
110
110
await client . ExecuteAsync ( request ) ;
111
-
112
- Assert . Equal ( $ "{ _server . Url } Capture?key=value", RequestBodyCapturer . CapturedUrl . ToString ( ) ) ;
113
- Assert . Equal ( "application/json; charset=utf-8" , RequestBodyCapturer . CapturedContentType ) ;
114
- Assert . Equal ( "{\" displayName\" :\" Display Name\" }" , RequestBodyCapturer . CapturedEntityBody ) ;
111
+
112
+ RequestBodyCapturer . CapturedUrl . ToString ( ) . Should ( ) . Be ( $ "{ _server . Url } Capture?key=value") ;
113
+ RequestBodyCapturer . CapturedContentType . Should ( ) . Be ( "application/json; charset=utf-8" ) ;
114
+ RequestBodyCapturer . CapturedEntityBody . Should ( ) . Be ( "{\" displayName\" :\" Display Name\" }" ) ;
115
115
}
116
116
117
117
static void AssertHasNoRequestBody ( ) {
You can’t perform that action at this time.
0 commit comments