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(() => 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(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."); Assert.That((IEnumerable<CommandSpec>)res!, Is.Empty, "All commands must have localized descriptions.");
}); });

View File

@@ -1,4 +1,4 @@
- Flags: QUERY - Flags: QUERY
Commands: Commands:
- entities - entities
- nearby - nearby
@@ -146,7 +146,7 @@
- stepnext - stepnext
- stepprev - stepprev
- checkedto - checkedto
- saturactedto - saturateto
- truncto - truncto
- iscanonical - iscanonical
- iscomplex - iscomplex