Removed EnableBanOnUsernames code from FindBanTest as its no longer applicable

This commit is contained in:
stevenh 2012-02-16 11:51:10 +00:00
parent d862d7922e
commit 5d4e210a26

View file

@ -61,11 +61,7 @@ namespace UnitTests
public void FindBanTest()
{
Assert.IsNotNull(Bans.GetBanByIp("127.0.0.1"));
TShock.Config.EnableBanOnUsernames = true;
Assert.IsNotNull(Bans.GetBanByName("BanTest"));
// Disabled this this for now as its currently expected behavour
//TShock.Config.EnableBanOnUsernames = false;
//Assert.IsNull(Bans.GetBanByName("BanTest"));
}
}
}