Fix tests
This commit is contained in:
parent
107c9189b7
commit
7cfdf40b47
1 changed files with 3 additions and 1 deletions
|
@ -881,7 +881,9 @@ class FunctionsCustomClientTest extends Scope
|
|||
$this->assertEquals($expectedTemplates[$i]['vcsProvider'], $templates['body']['templates'][$i]['vcsProvider']);
|
||||
$this->assertEquals($expectedTemplates[$i]['runtimes'], $templates['body']['templates'][$i]['runtimes']);
|
||||
$this->assertEquals($expectedTemplates[$i]['variables'], $templates['body']['templates'][$i]['variables']);
|
||||
$this->assertEquals($expectedTemplates[$i]['scopes'], $templates['body']['templates'][$i]['scopes']);
|
||||
if (array_key_exists('scopes', $expectedTemplates[$i])) {
|
||||
$this->assertEquals($expectedTemplates[$i]['scopes'], $templates['body']['templates'][$i]['scopes']);
|
||||
}
|
||||
}
|
||||
|
||||
$templates_offset = $this->client->call(Client::METHOD_GET, '/functions/templates', array_merge([
|
||||
|
|
Loading…
Reference in a new issue