1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

test: fix functions test

This commit is contained in:
loks0n 2024-06-11 17:01:56 +01:00
parent 1269397475
commit 682b854aad

View file

@ -435,7 +435,7 @@ class FunctionsCustomServerTest extends Scope
}
/**
* @depends testCreateDeployment
* @depends testUpdate
*/
public function testCancelDeploymentBuild($data): void
{
@ -590,7 +590,7 @@ class FunctionsCustomServerTest extends Scope
], $this->getHeaders()));
$this->assertEquals($function['headers']['status-code'], 200);
$this->assertEquals($function['body']['total'], 2);
$this->assertEquals($function['body']['total'], 3);
$this->assertIsArray($function['body']['deployments']);
$this->assertCount(2, $function['body']['deployments']);