Disabled EnableBanOnUsernames test on Bans as this is currently expected behavour
This commit is contained in:
parent
d3c1224ee7
commit
75f3fe4548
1 changed files with 3 additions and 2 deletions
|
|
@ -63,8 +63,9 @@ namespace UnitTests
|
||||||
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;
|
// Disabled this this for now as its currently expected behavour
|
||||||
Assert.IsNull(Bans.GetBanByName("BanTest"));
|
//TShock.Config.EnableBanOnUsernames = false;
|
||||||
|
//Assert.IsNull(Bans.GetBanByName("BanTest"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue