Add an isolated PHP smoke test for hosting plans

This commit is contained in:
parkel committed 2026-11-19 21:35:59 +01:00
1 parent 64ee6ddcba
commit 374408f8c7
14 files changed
+253 -6

No files matched your search

+8
View File
@@ -28,5 +28,13 @@ class WebProvisioningPlan(models.Model):
def for_account(cls, account):
return cls(account=account, primary_domain=account.primary_domain)
@property
def can_export(self):
return (
self.completed_at is not None
and bool(self.apache_config)
and self.primary_domain == self.account.primary_domain
)
def __str__(self):
return str(self.primary_domain)