Fix missing toolshed command perms and tests (#19470)
This commit is contained in:
@@ -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.");
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user