From e42148f43364979f22bc17cccba32b9a9fca9b05 Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Thu, 24 Aug 2023 02:21:47 -0700 Subject: [PATCH] Fix missing toolshed command perms and tests (#19470) --- Content.IntegrationTests/Tests/Toolshed/LocTest.cs | 2 -- Resources/toolshedEngineCommandPerms.yml | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Content.IntegrationTests/Tests/Toolshed/LocTest.cs b/Content.IntegrationTests/Tests/Toolshed/LocTest.cs index 91ccb5bac07..2b5553ad7dd 100644 --- a/Content.IntegrationTests/Tests/Toolshed/LocTest.cs +++ b/Content.IntegrationTests/Tests/Toolshed/LocTest.cs @@ -16,8 +16,6 @@ public async Task AllCommandsHaveDescriptions() { await Server.WaitAssertion(() => { - IoCManager.Resolve().LoadCulture(new CultureInfo("en-US")); - Assert.That(InvokeCommand("cmd:list where { cmd:descloc loc:tryloc isnull }", out var res)); Assert.That((IEnumerable)res!, Is.Empty, "All commands must have localized descriptions."); }); diff --git a/Resources/toolshedEngineCommandPerms.yml b/Resources/toolshedEngineCommandPerms.yml index ff4e2ae4288..ac7ffddd5f9 100644 --- a/Resources/toolshedEngineCommandPerms.yml +++ b/Resources/toolshedEngineCommandPerms.yml @@ -1,4 +1,4 @@ -- Flags: QUERY +- Flags: QUERY Commands: - entities - nearby @@ -146,7 +146,7 @@ - stepnext - stepprev - checkedto - - saturactedto + - saturateto - truncto - iscanonical - iscomplex