Skip to content

Commit 8ceda53

Browse files
feature(#20): this commit removes unnecessary reading of the response content
1 parent d684d6a commit 8ceda53

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Applications/Backend/Tests/Integration/Endpoints/ClientEndpointTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,8 +1080,6 @@ public async Task WhenDeleteClientAudience_ShouldRevokeAudienceSuccessfully()
10801080

10811081
/* act: send DELETE request to revoke first audience */
10821082
var response = await httpClient.DeleteAsync($"api/v1/clients/{client.Id}/audiences/{audience1}");
1083-
var contentString = await response.Content.ReadAsStringAsync();
1084-
10851083
var remainingAudiences = await response.Content.ReadFromJsonAsync<IReadOnlyCollection<string>>();
10861084

10871085
/* assert: response should be 200 OK */

0 commit comments

Comments
 (0)