feat: add private business intake review and reserved objects
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user