refactor(form-builder): pre-publish check reads form_field_bindings; drop binding JSON columns
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\FormBuilder\Bindings;
|
||||
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Tests\TestCase;
|
||||
|
||||
final class BindingJsonColumnsDroppedTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
public function test_form_fields_has_no_binding_column(): void
|
||||
{
|
||||
$this->assertFalse(Schema::hasColumn('form_fields', 'binding'));
|
||||
}
|
||||
|
||||
public function test_form_field_library_has_no_default_binding_column(): void
|
||||
{
|
||||
$this->assertFalse(Schema::hasColumn('form_field_library', 'default_binding'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user