diff options
author | 杨宇千 <crupest@outlook.com> | 2019-07-29 21:32:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-29 21:32:59 +0800 |
commit | 5ae881efb6a5abbeb292ac25ab4db22545b4f0dd (patch) | |
tree | 2e84f806d0a79488dc92e53e66b7772536f1807c /Timeline.Tests/JwtTokenUnitTest.cs | |
parent | 06236362679631b9029aaacd9cb0a82bab9c450a (diff) | |
parent | 2f15ca5641b126968c3aa5bb93e7a1741f205705 (diff) | |
download | timeline-5ae881efb6a5abbeb292ac25ab4db22545b4f0dd.tar.gz timeline-5ae881efb6a5abbeb292ac25ab4db22545b4f0dd.tar.bz2 timeline-5ae881efb6a5abbeb292ac25ab4db22545b4f0dd.zip |
Merge branch 'master' into remove-cos
Diffstat (limited to 'Timeline.Tests/JwtTokenUnitTest.cs')
-rw-r--r-- | Timeline.Tests/JwtTokenUnitTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline.Tests/JwtTokenUnitTest.cs b/Timeline.Tests/JwtTokenUnitTest.cs index 6ab4e8a6..6c0d4213 100644 --- a/Timeline.Tests/JwtTokenUnitTest.cs +++ b/Timeline.Tests/JwtTokenUnitTest.cs @@ -68,7 +68,7 @@ namespace Timeline.Tests var result = JsonConvert.DeserializeObject<VerifyTokenResponse>(await response.Content.ReadAsStringAsync()); Assert.NotNull(result.User); Assert.Equal(createTokenResult.User.Username, result.User.Username); - Assert.Equal(createTokenResult.User.IsAdmin, result.User.IsAdmin); + Assert.Equal(createTokenResult.User.Administrator, result.User.Administrator); } } } |