diff options
author | crupest <crupest@outlook.com> | 2021-05-05 16:36:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-05-05 16:36:18 +0800 |
commit | 33c5e4ed68201c42069c1a1e8f57cac714ffe170 (patch) | |
tree | 1f911721bd5ba29ca1ef500a49e57f16b17b5fe9 /BackEnd/Timeline.Tests/IntegratedTests/UserAvatarTest.cs | |
parent | e110f4a41bd711192af28874f71f031a130f0b84 (diff) | |
download | timeline-33c5e4ed68201c42069c1a1e8f57cac714ffe170.tar.gz timeline-33c5e4ed68201c42069c1a1e8f57cac714ffe170.tar.bz2 timeline-33c5e4ed68201c42069c1a1e8f57cac714ffe170.zip |
refactor: ...
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests/UserAvatarTest.cs')
-rw-r--r-- | BackEnd/Timeline.Tests/IntegratedTests/UserAvatarTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests/UserAvatarTest.cs b/BackEnd/Timeline.Tests/IntegratedTests/UserAvatarTest.cs index e8c42d58..a7aa63cd 100644 --- a/BackEnd/Timeline.Tests/IntegratedTests/UserAvatarTest.cs +++ b/BackEnd/Timeline.Tests/IntegratedTests/UserAvatarTest.cs @@ -138,7 +138,7 @@ namespace Timeline.Tests.IntegratedTests await client.TestPutByteArrayAsync("users/user1/avatar", mockAvatar.Data, mockAvatar.ContentType);
await client.TestDeleteAsync("users/user1/avatar");
await client.TestPutByteArrayAssertErrorAsync("users/usernotexist/avatar", new[] { (byte)0x00 }, "image/png", errorCode: ErrorCodes.NotExist.User);
- await client.TestDeleteAsync("users/usernotexist/avatar");
+ await client.TestDeleteAssertErrorAsync("users/usernotexist/avatar");
}
// bad username check
|