Fix missing toolshed command perms and tests (#19470)

This commit is contained in:
DrSmugleaf
2023-08-24 02:21:47 -07:00
committed by GitHub
parent 48d0e742c0
commit e42148f433
2 changed files with 2 additions and 4 deletions

View File

@@ -16,8 +16,6 @@ public sealed class LocTest : ToolshedTest
{
await Server.WaitAssertion(() =>
{
IoCManager.Resolve<ILocalizationManager>().LoadCulture(new CultureInfo("en-US"));
Assert.That(InvokeCommand("cmd:list where { cmd:descloc loc:tryloc isnull }", out var res));
Assert.That((IEnumerable<CommandSpec>)res!, Is.Empty, "All commands must have localized descriptions.");
});