We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4fdf85 commit ddf5857Copy full SHA for ddf5857
1 file changed
RefreshTests.GameServer/Tests/Levels/UploadTests.cs
@@ -39,6 +39,18 @@ public void CanCreateMultipleLevelsWhileRefreshing()
39
context.Database.Refresh();
40
}
41
42
+ [Test]
43
+ public void LevelReferencesAreSetAfterCreation()
44
+ {
45
+ using TestContext context = this.GetServer(false);
46
+ GameUser user = context.CreateUser();
47
+
48
+ context.Database.Refresh();
49
+ GameLevel level = context.CreateLevel(user);
50
+ Assert.That(level.Publisher, Is.Not.Null);
51
+ Assert.That(level.Statistics, Is.Not.Null);
52
+ }
53
54
[Test]
55
public void CanUpdateLevel()
56
{
0 commit comments