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 | 1bce70b36d4666797ae157167be4a84217a71374 (patch) | |
tree | 656007e5953136219c8e97f0b4763faaee0bc021 /BackEnd/Timeline.Tests/IntegratedTests | |
parent | 7d54e0b8b7ca84488fdcba90c68169a85b4d45c6 (diff) | |
download | timeline-1bce70b36d4666797ae157167be4a84217a71374.tar.gz timeline-1bce70b36d4666797ae157167be4a84217a71374.tar.bz2 timeline-1bce70b36d4666797ae157167be4a84217a71374.zip |
refactor: ...
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests')
-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
|