aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/Services/UserAvatarServiceTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-01-21 01:11:17 +0800
committercrupest <crupest@outlook.com>2020-01-21 01:11:17 +0800
commit747bf829351c30069647a44f98ac19f1a214370f (patch)
treea45506852659b9d8e2bfe0b9e58a496060f7cd9b /Timeline.Tests/Services/UserAvatarServiceTest.cs
parent40eea04e1ec9b71c5215e9dce5a6963ea60cafaa (diff)
downloadtimeline-747bf829351c30069647a44f98ac19f1a214370f.tar.gz
timeline-747bf829351c30069647a44f98ac19f1a214370f.tar.bz2
timeline-747bf829351c30069647a44f98ac19f1a214370f.zip
...
Diffstat (limited to 'Timeline.Tests/Services/UserAvatarServiceTest.cs')
-rw-r--r--Timeline.Tests/Services/UserAvatarServiceTest.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Timeline.Tests/Services/UserAvatarServiceTest.cs b/Timeline.Tests/Services/UserAvatarServiceTest.cs
index 2729aa6f..d4371c48 100644
--- a/Timeline.Tests/Services/UserAvatarServiceTest.cs
+++ b/Timeline.Tests/Services/UserAvatarServiceTest.cs
@@ -78,7 +78,7 @@ namespace Timeline.Tests.Services
public class UserAvatarServiceTest : IDisposable
{
- private UserAvatar CreateMockAvatarEntity(string key) => new UserAvatar
+ private UserAvatarEntity CreateMockAvatarEntity(string key) => new UserAvatarEntity
{
Type = $"image/test{key}",
Data = Encoding.ASCII.GetBytes($"mock{key}"),
@@ -102,7 +102,7 @@ namespace Timeline.Tests.Services
Data = Encoding.ASCII.GetBytes($"mock{key}")
};
- private static Avatar ToAvatar(UserAvatar entity)
+ private static Avatar ToAvatar(UserAvatarEntity entity)
{
return new Avatar
{
@@ -111,7 +111,7 @@ namespace Timeline.Tests.Services
};
}
- private static AvatarInfo ToAvatarInfo(UserAvatar entity)
+ private static AvatarInfo ToAvatarInfo(UserAvatarEntity entity)
{
return new AvatarInfo
{