feat: add private business intake review and reserved objects

This commit is contained in:
2026-09-28 20:26:26 +02:00
parent 519b256ffd
commit 2640dd6109
26 changed files with 2548 additions and 5 deletions
@@ -87,8 +87,11 @@ class ExistingBusinessFoundationTest extends TestCase
public function test_empty_rollback_is_reversible_and_populated_rollback_is_refused(): void
{
$migration = require database_path('migrations/2026_09_28_130000_existing_business_foundation.php');
$intake = require database_path('migrations/2026_09_28_140000_existing_business_intake.php');
$intake->down();
$migration->down();
$migration->up();
$intake->up();
app(ExistingBusinessDrafts::class)->save(User::factory()->create(), $this->draft());
$this->expectException(\RuntimeException::class);
$this->expectExceptionMessage('destructive rollback refused');