Disabled EnableBanOnUsernames test on Bans as this is currently expected behavour

This commit is contained in:
stevenh 2012-02-14 11:08:29 +00:00
parent d3c1224ee7
commit 75f3fe4548

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"));
}
}
}