Fix UnitTests
This commit is contained in:
parent
55b706db8d
commit
342d4806bf
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ namespace UnitTests
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void FindBanTest()
|
public void FindBanTest()
|
||||||
{
|
{
|
||||||
D:\SVNs\TShock_GitHub\UnitTests\BanManagerTest.orderedtest Assert.IsNotNull(Bans.GetBanByIp("127.0.0.1"));
|
Assert.IsNotNull(Bans.GetBanByIp("127.0.0.1"));
|
||||||
TShock.Config.EnableBanOnUsernames = true;
|
TShock.Config.EnableBanOnUsernames = true;
|
||||||
Assert.IsNotNull(Bans.GetBanByName("BanTest"));
|
Assert.IsNotNull(Bans.GetBanByName("BanTest"));
|
||||||
TShock.Config.EnableBanOnUsernames = false;
|
TShock.Config.EnableBanOnUsernames = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue