@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
use App\Services\StandaloneSchema;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
test('standalone preflight accepts the actual common payables schema including event keyed outbox', function () {
|
||||
StandaloneSchema::verify(DB::getSchemaBuilder(), ['supplier-payables' => true]);
|
||||
expect(DB::getSchemaBuilder()->hasColumn('pa_outbox', 'event_id'))->toBeTrue()
|
||||
->and(DB::getSchemaBuilder()->hasColumn('pa_outbox', 'id'))->toBeFalse()
|
||||
->and(DB::table('pa_access')->count())->toBe(0);
|
||||
});
|
||||
Reference in New Issue
Block a user