diff options
author | crupest <crupest@outlook.com> | 2019-04-21 00:08:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-21 00:08:59 +0800 |
commit | 076e0131dff71a9f76fff13c92fffa0ef408935f (patch) | |
tree | 9fa853690866f452a571b45fb062ac692d298a2e /Timeline.Tests/JwtTokenUnitTest.cs | |
parent | 325d4c7dbfba45e9c5a7518279831f54c4690d20 (diff) | |
download | timeline-076e0131dff71a9f76fff13c92fffa0ef408935f.tar.gz timeline-076e0131dff71a9f76fff13c92fffa0ef408935f.tar.bz2 timeline-076e0131dff71a9f76fff13c92fffa0ef408935f.zip |
Reorgnize api. Add basic unit test.
Diffstat (limited to 'Timeline.Tests/JwtTokenUnitTest.cs')
-rw-r--r-- | Timeline.Tests/JwtTokenUnitTest.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline.Tests/JwtTokenUnitTest.cs b/Timeline.Tests/JwtTokenUnitTest.cs index fa9c7628..39ffc928 100644 --- a/Timeline.Tests/JwtTokenUnitTest.cs +++ b/Timeline.Tests/JwtTokenUnitTest.cs @@ -12,8 +12,8 @@ namespace Timeline.Tests { public class JwtTokenUnitTest : IClassFixture<WebApplicationFactory<Startup>> { - private const string CreateTokenUrl = "User/CreateToken"; - private const string VerifyTokenUrl = "User/VerifyToken"; + private const string CreateTokenUrl = "token/create"; + private const string VerifyTokenUrl = "token/verify"; private readonly WebApplicationFactory<Startup> _factory; |