3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-04-10 09:48:13 +00:00
Files
snipe-it/tests/Unit/StatuslabelTest.php
2026-03-16 17:40:57 -07:00

46 lines
1.2 KiB
PHP

<?php
namespace Tests\Unit;
use App\Models\Statuslabel;
use Tests\TestCase;
class StatuslabelTest extends TestCase
{
public function test_rtd_statuslabel_add()
{
$statuslabel = Statuslabel::factory()->rtd()->create();
$this->assertModelExists($statuslabel);
}
public function test_pending_statuslabel_add()
{
$statuslabel = Statuslabel::factory()->pending()->create();
$this->assertModelExists($statuslabel);
}
public function test_archived_statuslabel_add()
{
$statuslabel = Statuslabel::factory()->archived()->create();
$this->assertModelExists($statuslabel);
}
public function test_out_for_repair_statuslabel_add()
{
$statuslabel = Statuslabel::factory()->outForRepair()->create();
$this->assertModelExists($statuslabel);
}
public function test_broken_statuslabel_add()
{
$statuslabel = Statuslabel::factory()->broken()->create();
$this->assertModelExists($statuslabel);
}
public function test_lost_statuslabel_add()
{
$statuslabel = Statuslabel::factory()->lost()->create();
$this->assertModelExists($statuslabel);
}
}