File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
test/RestSharp.IntegrationTests Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ public static RestResponse<T> FromResponse(RestResponse response)
42
42
ErrorMessage = response . ErrorMessage ,
43
43
ErrorException = response . ErrorException ,
44
44
Headers = response . Headers ,
45
+ IsSuccessful = response . IsSuccessful ,
45
46
ResponseStatus = response . ResponseStatus ,
46
47
ResponseUri = response . ResponseUri ,
47
48
Server = response . Server ,
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public async Task ContentType_Additional_Information() {
36
36
var response = await _client . ExecuteAsync < TestResponse > ( request ) ;
37
37
38
38
response . StatusCode . Should ( ) . Be ( HttpStatusCode . OK ) ;
39
+ response . IsSuccessful . Should ( ) . BeTrue ( ) ;
39
40
}
40
41
41
42
[ Fact ]
You can’t perform that action at this time.
0 commit comments