Fix site tests

This commit is contained in:
Matej Bačo 2025-03-06 18:35:57 +01:00
parent a7fc8cf84b
commit 50ec55d595
2 changed files with 4 additions and 3 deletions

View file

@ -92,7 +92,6 @@ class Create extends Action
$deployment = $dbForProject->createDocument('deployments', $deployment->setAttributes([
'$internalId' => '',
'$id' => $deploymentId,
'buildId' => '',
'path' => $destination,
'buildCommand' => $site->getAttribute('buildCommand', ''),
'installCommand' => $site->getAttribute('installCommand', ''),

View file

@ -6,12 +6,14 @@ class Deployments extends Base
{
public const ALLOWED_ATTRIBUTES = [
'size',
'buildId',
'status',
'activate',
'entrypoint',
'commands',
'type',
'size'
'size',
'buildSize',
'buildTime'
];
/**