1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

Update execute permission refs

This commit is contained in:
Jake Barnby 2022-08-03 22:11:39 +12:00
parent ed9d331f89
commit 1f0b55bfed
3 changed files with 6 additions and 6 deletions

View file

@ -20,7 +20,7 @@ class FunctionsConsoleClientTest extends Scope
], $this->getHeaders()), [ ], $this->getHeaders()), [
'functionId' => 'unique()', 'functionId' => 'unique()',
'name' => 'Test', 'name' => 'Test',
'execute' => ['user:' . $this->getUser()['$id']], 'execute' => ['create(user:' . $this->getUser()['$id'] . ')'],
'runtime' => 'php-8.0', 'runtime' => 'php-8.0',
'vars' => [ 'vars' => [
'funcKey1' => 'funcValue1', 'funcKey1' => 'funcValue1',

View file

@ -57,7 +57,7 @@ class FunctionsCustomClientTest extends Scope
], [ ], [
'functionId' => 'unique()', 'functionId' => 'unique()',
'name' => 'Test', 'name' => 'Test',
'execute' => ['user:' . $this->getUser()['$id']], 'execute' => ['create(user:' . $this->getUser()['$id'] . ')'],
'runtime' => 'php-8.0', 'runtime' => 'php-8.0',
'vars' => [ 'vars' => [
'funcKey1' => 'funcValue1', 'funcKey1' => 'funcValue1',
@ -147,7 +147,7 @@ class FunctionsCustomClientTest extends Scope
], [ ], [
'functionId' => 'unique()', 'functionId' => 'unique()',
'name' => 'Test', 'name' => 'Test',
'execute' => ['role:all'], 'execute' => ['create(any)'],
'runtime' => 'php-8.0', 'runtime' => 'php-8.0',
'vars' => [ 'vars' => [
'funcKey1' => 'funcValue1', 'funcKey1' => 'funcValue1',
@ -332,7 +332,7 @@ class FunctionsCustomClientTest extends Scope
], [ ], [
'functionId' => 'unique()', 'functionId' => 'unique()',
'name' => 'Test', 'name' => 'Test',
'execute' => ['role:all'], 'execute' => ['create(any)'],
'runtime' => 'php-8.0', 'runtime' => 'php-8.0',
'vars' => [ 'vars' => [
'funcKey1' => 'funcValue1', 'funcKey1' => 'funcValue1',

View file

@ -392,7 +392,7 @@ class WebhooksCustomServerTest extends Scope
], $this->getHeaders()), [ ], $this->getHeaders()), [
'functionId' => 'unique()', 'functionId' => 'unique()',
'name' => 'Test', 'name' => 'Test',
'execute' => ['role:all'], 'execute' => ['create(any)'],
'runtime' => 'php-8.0', 'runtime' => 'php-8.0',
'timeout' => 10, 'timeout' => 10,
]); ]);
@ -441,7 +441,7 @@ class WebhooksCustomServerTest extends Scope
], $this->getHeaders()), [ ], $this->getHeaders()), [
'name' => 'Test', 'name' => 'Test',
'runtime' => 'php-8.0', 'runtime' => 'php-8.0',
'execute' => ['role:all'], 'execute' => ['create(any)'],
'vars' => [ 'vars' => [
'key1' => 'value1', 'key1' => 'value1',
] ]