diff options
author | crupest <crupest@outlook.com> | 2020-11-15 17:27:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-11-15 17:27:18 +0800 |
commit | 8e9b32914a1bcfe3206c13816d89d4247483ab48 (patch) | |
tree | 4d77185da3c2d910b6039ab54f447446fc9fd438 /BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs | |
parent | 03f1df804d74685ccb121fa93719aa24496b1361 (diff) | |
download | timeline-8e9b32914a1bcfe3206c13816d89d4247483ab48.tar.gz timeline-8e9b32914a1bcfe3206c13816d89d4247483ab48.tar.bz2 timeline-8e9b32914a1bcfe3206c13816d89d4247483ab48.zip |
...
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs')
-rw-r--r-- | BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs b/BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs index 3c4a595d..c2f91eb1 100644 --- a/BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs +++ b/BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs @@ -144,7 +144,7 @@ namespace Timeline.Tests.IntegratedTests var createTokenResult = await CreateUserTokenAsync(client, "user1", "user1pw");
var body = await client.TestPostAsync<VerifyTokenResponse>(VerifyTokenUrl,
new VerifyTokenRequest { Token = createTokenResult.Token });
- body.Should().BeEquivalentTo(await client.GetUserAsync("user1"));
+ body.User.Should().BeEquivalentTo(await client.GetUserAsync("user1"));
}
}
}
|