mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
Unrelated: Fix some tests for permissionsCheckActionAny
This commit is contained in:
parent
671dfa9d71
commit
0f4f3f05aa
@ -132,7 +132,7 @@ describe("Config/BridgePermissions", () => {
|
||||
const checkActorValues = ["@foo:bar", "bar", "*"];
|
||||
checkActorValues.forEach(actor => {
|
||||
it(`will return true for a service defintion of '${actor}' that has a sufficent level`, () => {
|
||||
const bridgePermissions = genBridgePermissions("@foo:bar", "fake-service", "commands");
|
||||
const bridgePermissions = genBridgePermissions(actor, "fake-service", "commands");
|
||||
expect(
|
||||
bridgePermissions.checkActionAny(
|
||||
"@foo:bar",
|
||||
|
Loading…
x
Reference in New Issue
Block a user