aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline.Tests')
-rw-r--r--Timeline.Tests/IntegratedTests/AuthorizationUnitTest.cs9
-rw-r--r--Timeline.Tests/Timeline.Tests.csproj1
2 files changed, 5 insertions, 5 deletions
diff --git a/Timeline.Tests/IntegratedTests/AuthorizationUnitTest.cs b/Timeline.Tests/IntegratedTests/AuthorizationUnitTest.cs
index a67bffcf..588e4349 100644
--- a/Timeline.Tests/IntegratedTests/AuthorizationUnitTest.cs
+++ b/Timeline.Tests/IntegratedTests/AuthorizationUnitTest.cs
@@ -11,10 +11,6 @@ namespace Timeline.Tests.IntegratedTests
{
public class AuthorizationUnitTest : IClassFixture<WebApplicationFactory<Startup>>, IDisposable
{
- private const string AuthorizeUrl = "Test/User/Authorize";
- private const string UserUrl = "Test/User/User";
- private const string AdminUrl = "Test/User/Admin";
-
private readonly TestApplication _testApp;
private readonly WebApplicationFactory<Startup> _factory;
@@ -29,6 +25,11 @@ namespace Timeline.Tests.IntegratedTests
_testApp.Dispose();
}
+ private const string BaseUrl = "testing/auth/";
+ private const string AuthorizeUrl = BaseUrl + "Authorize";
+ private const string UserUrl = BaseUrl + "User";
+ private const string AdminUrl = BaseUrl + "Admin";
+
[Fact]
public async Task UnauthenticationTest()
{
diff --git a/Timeline.Tests/Timeline.Tests.csproj b/Timeline.Tests/Timeline.Tests.csproj
index a611dfd3..497a00b7 100644
--- a/Timeline.Tests/Timeline.Tests.csproj
+++ b/Timeline.Tests/Timeline.Tests.csproj
@@ -4,7 +4,6 @@
<TargetFramework>netcoreapp3.0</TargetFramework>
<LangVersion>8.0</LangVersion>
- <Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>