aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/IntegratedTests/UserAvatarTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-05-05 16:36:18 +0800
committercrupest <crupest@outlook.com>2021-05-05 16:36:18 +0800
commit33c5e4ed68201c42069c1a1e8f57cac714ffe170 (patch)
tree1f911721bd5ba29ca1ef500a49e57f16b17b5fe9 /BackEnd/Timeline.Tests/IntegratedTests/UserAvatarTest.cs
parente110f4a41bd711192af28874f71f031a130f0b84 (diff)
downloadtimeline-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.cs2
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