Skip to content

Commit

Permalink
Correct test variable initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
SignatureBeef committed Jan 4, 2025
1 parent a360e12 commit 0c9f2f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TerrariaServerAPI.Tests/BaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public void EnsureInitialised()
invoked = true;
// DedServ typically requires input, so no need to continue execution
args.ContinueExecution = false;
// DedServ calls the following method, which is needed for subsequent tests
instance.Initialize();
};
HookEvents.Terraria.Main.DedServ += cb;

Expand Down

0 comments on commit 0c9f2f7

Please sign in to comment.