mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-16 10:34:08 -08:00
17 lines
368 B
PHP
17 lines
368 B
PHP
|
<?php
|
||
|
|
||
|
namespace Tests\Feature\Settings;
|
||
|
|
||
|
use App\Models\User;
|
||
|
use Tests\TestCase;
|
||
|
|
||
|
class BrandingSettingsTest extends TestCase
|
||
|
{
|
||
|
public function testSiteNameIsRequired()
|
||
|
{
|
||
|
$this->actingAs(User::factory()->superuser()->create())
|
||
|
->post(route('settings.branding.save', ['site_name' => '']))
|
||
|
->assertInvalid('site_name');
|
||
|
}
|
||
|
}
|