Skip to content

Commit

Permalink
Fix missing toolshed command perms and tests (#19470)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSmugleaf authored Aug 24, 2023
1 parent 48d0e74 commit e42148f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Content.IntegrationTests/Tests/Toolshed/LocTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ public async Task AllCommandsHaveDescriptions()
{
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.");
});
Expand Down
4 changes: 2 additions & 2 deletions Resources/toolshedEngineCommandPerms.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- Flags: QUERY
- Flags: QUERY
Commands:
- entities
- nearby
Expand Down Expand Up @@ -146,7 +146,7 @@
- stepnext
- stepprev
- checkedto
- saturactedto
- saturateto
- truncto
- iscanonical
- iscomplex
Expand Down

0 comments on commit e42148f

Please sign in to comment.