mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-13 13:22:28 +00:00
15 lines
No EOL
454 B
C#
15 lines
No EOL
454 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectLighthouse.Tests {
|
|
public class DatabaseTests : LighthouseTest {
|
|
[DatabaseFact]
|
|
public async Task CanCreateUserTwice() {
|
|
await using Database database = new();
|
|
int rand = new Random().Next();
|
|
|
|
await database.CreateUser("createUserTwiceTest" + rand);
|
|
await database.CreateUser("createUserTwiceTest" + rand);
|
|
}
|
|
}
|
|
} |