Merge pull request #382 from stevenh/75f3fe454827b2905d91ac8b41e49ba03f0bc96e

Disabled EnableBanOnUsernames test on Bans
This commit is contained in:
Steven Hartland 2012-02-15 03:35:33 -08:00
commit ab543de5ac

View file

@ -63,8 +63,9 @@ namespace UnitTests
Assert.IsNotNull(Bans.GetBanByIp("127.0.0.1"));
TShock.Config.EnableBanOnUsernames = true;
Assert.IsNotNull(Bans.GetBanByName("BanTest"));
TShock.Config.EnableBanOnUsernames = false;
Assert.IsNull(Bans.GetBanByName("BanTest"));
// Disabled this this for now as its currently expected behavour
//TShock.Config.EnableBanOnUsernames = false;
//Assert.IsNull(Bans.GetBanByName("BanTest"));
}
}
}