Files
nova-form-dock/tests/ConfigurationTest.php
T
MeghdadFadaee 2a1fddb65a
Tests / metadata (push) Canceled after 0s
Tests / nova-credentials (push) Canceled after 0s
Tests / PHP 8.2 (push) Canceled after 0s
Tests / PHP 8.3 (push) Canceled after 0s
Tests / PHP 8.4 (push) Canceled after 0s
Tests / PHP 8.5 (push) Canceled after 0s
init
2026-09-15 16:36:25 +03:30

17 lines
605 B
PHP

<?php
namespace MeghdadFadaee\NovaFormDock\Tests;
class ConfigurationTest extends TestCase
{
public function test_it_loads_the_default_configuration(): void
{
$this->assertTrue(config('nova-form-dock.enabled'));
$this->assertSame('automatic', config('nova-form-dock.mode'));
$this->assertTrue(config('nova-form-dock.forms.create'));
$this->assertTrue(config('nova-form-dock.forms.update'));
$this->assertSame('bottom', config('nova-form-dock.appearance.position'));
$this->assertSame('end', config('nova-form-dock.appearance.alignment'));
}
}