24 lines
543 B
PHP
24 lines
543 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\Desfile;
|
|
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Illuminate\Support\Facades\Schema;
|
|
use Tests\TestCase;
|
|
|
|
class EntryReservationSchemaTest extends TestCase
|
|
{
|
|
use RefreshDatabase;
|
|
|
|
public function test_the_entry_reservations_table_has_the_requested_columns(): void
|
|
{
|
|
$this->assertTrue(Schema::hasColumns('desfile_entry_reservations', [
|
|
'id',
|
|
'variant_id',
|
|
'fecha_reserva',
|
|
'importe',
|
|
'tipo_pago',
|
|
]));
|
|
}
|
|
}
|