Removed EnableBanOnUsernames code from FindBanTest as its no longer applicable
This commit is contained in:
parent
d862d7922e
commit
5d4e210a26
1 changed files with 0 additions and 4 deletions
|
|
@ -61,11 +61,7 @@ namespace UnitTests
|
||||||
public void FindBanTest()
|
public void FindBanTest()
|
||||||
{
|
{
|
||||||
Assert.IsNotNull(Bans.GetBanByIp("127.0.0.1"));
|
Assert.IsNotNull(Bans.GetBanByIp("127.0.0.1"));
|
||||||
TShock.Config.EnableBanOnUsernames = true;
|
|
||||||
Assert.IsNotNull(Bans.GetBanByName("BanTest"));
|
Assert.IsNotNull(Bans.GetBanByName("BanTest"));
|
||||||
// Disabled this this for now as its currently expected behavour
|
|
||||||
//TShock.Config.EnableBanOnUsernames = false;
|
|
||||||
//Assert.IsNull(Bans.GetBanByName("BanTest"));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue