mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-03 02:28:39 +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);
|
if (Directory.Exists(assetsDirectory)) Directory.Delete(assetsDirectory, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[DatabaseFact]
|
||||||
public async Task ShouldNotAcceptScript()
|
public async Task ShouldNotAcceptScript()
|
||||||
{
|
{
|
||||||
LoginResult loginResult = await this.Authenticate();
|
LoginResult loginResult = await this.Authenticate();
|
||||||
|
@ -28,7 +28,7 @@ public class UploadTests : LighthouseServerTest<GameServerTestStartup>
|
||||||
Assert.False(response.IsSuccessStatusCode);
|
Assert.False(response.IsSuccessStatusCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[DatabaseFact]
|
||||||
public async Task ShouldNotAcceptFarc()
|
public async Task ShouldNotAcceptFarc()
|
||||||
{
|
{
|
||||||
LoginResult loginResult = await this.Authenticate();
|
LoginResult loginResult = await this.Authenticate();
|
||||||
|
@ -38,7 +38,7 @@ public class UploadTests : LighthouseServerTest<GameServerTestStartup>
|
||||||
Assert.False(response.IsSuccessStatusCode);
|
Assert.False(response.IsSuccessStatusCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[DatabaseFact]
|
||||||
public async Task ShouldNotAcceptGarbage()
|
public async Task ShouldNotAcceptGarbage()
|
||||||
{
|
{
|
||||||
LoginResult loginResult = await this.Authenticate();
|
LoginResult loginResult = await this.Authenticate();
|
||||||
|
@ -48,7 +48,7 @@ public class UploadTests : LighthouseServerTest<GameServerTestStartup>
|
||||||
Assert.False(response.IsSuccessStatusCode);
|
Assert.False(response.IsSuccessStatusCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[DatabaseFact]
|
||||||
public async Task ShouldAcceptTexture()
|
public async Task ShouldAcceptTexture()
|
||||||
{
|
{
|
||||||
LoginResult loginResult = await this.Authenticate();
|
LoginResult loginResult = await this.Authenticate();
|
||||||
|
@ -58,7 +58,7 @@ public class UploadTests : LighthouseServerTest<GameServerTestStartup>
|
||||||
Assert.True(response.IsSuccessStatusCode);
|
Assert.True(response.IsSuccessStatusCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[DatabaseFact]
|
||||||
public async Task ShouldAcceptLevel()
|
public async Task ShouldAcceptLevel()
|
||||||
{
|
{
|
||||||
LoginResult loginResult = await this.Authenticate();
|
LoginResult loginResult = await this.Authenticate();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue