mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 16:38:37 +00:00
Fix UploadTests not using DatabaseFacts
This commit is contained in:
parent
98cf99e4b0
commit
a8410fe352
1 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,7 @@ public class UploadTests : LighthouseServerTest<GameServerTestStartup>
|
|||
if (Directory.Exists(assetsDirectory)) Directory.Delete(assetsDirectory, true);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[DatabaseFact]
|
||||
public async Task ShouldNotAcceptScript()
|
||||
{
|
||||
LoginResult loginResult = await this.Authenticate();
|
||||
|
@ -28,7 +28,7 @@ public class UploadTests : LighthouseServerTest<GameServerTestStartup>
|
|||
Assert.False(response.IsSuccessStatusCode);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[DatabaseFact]
|
||||
public async Task ShouldNotAcceptFarc()
|
||||
{
|
||||
LoginResult loginResult = await this.Authenticate();
|
||||
|
@ -38,7 +38,7 @@ public class UploadTests : LighthouseServerTest<GameServerTestStartup>
|
|||
Assert.False(response.IsSuccessStatusCode);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[DatabaseFact]
|
||||
public async Task ShouldNotAcceptGarbage()
|
||||
{
|
||||
LoginResult loginResult = await this.Authenticate();
|
||||
|
@ -48,7 +48,7 @@ public class UploadTests : LighthouseServerTest<GameServerTestStartup>
|
|||
Assert.False(response.IsSuccessStatusCode);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[DatabaseFact]
|
||||
public async Task ShouldAcceptTexture()
|
||||
{
|
||||
LoginResult loginResult = await this.Authenticate();
|
||||
|
@ -58,7 +58,7 @@ public class UploadTests : LighthouseServerTest<GameServerTestStartup>
|
|||
Assert.True(response.IsSuccessStatusCode);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[DatabaseFact]
|
||||
public async Task ShouldAcceptLevel()
|
||||
{
|
||||
LoginResult loginResult = await this.Authenticate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue