Fix test failures

This commit is contained in:
Matej Bačo 2025-03-07 11:11:32 +01:00
parent 9400fdbbe5
commit a42522feaa

View file

@ -108,7 +108,7 @@ class Create extends Action
throw new Exception(Exception::RULE_RESOURCE_NOT_FOUND);
}
$deployment = $dbForProject->getDocument('deployments', $site->getAttribute('deployment', ''));
$deployment = $dbForProject->getDocument('deployments', $site->getAttribute('deploymentId', ''));
// TODO: @christyjacob remove once we migrate the rules in 1.7.x
$ruleId = System::getEnv('_APP_RULES_FORMAT') === 'md5' ? md5($domain->get()) : ID::unique();