Improve live recordings UI, upload flow, and default Flux theme.
Refresh list status over Reverb with polling fallback, clarify queued vs processing, streamline upload empty states, and seed an admin login.
This commit is contained in:
@@ -24,12 +24,24 @@ class DemoUserSeederTest extends TestCase
|
||||
$this->assertTrue(Hash::check('password', $user->password));
|
||||
}
|
||||
|
||||
public function test_seeder_creates_admin_user(): void
|
||||
{
|
||||
$this->seed(DatabaseSeeder::class);
|
||||
|
||||
$user = User::query()->where('email', 'admin@example.com')->first();
|
||||
|
||||
$this->assertNotNull($user);
|
||||
$this->assertSame('Admin', $user->name);
|
||||
$this->assertTrue(Hash::check('password', $user->password));
|
||||
}
|
||||
|
||||
public function test_seeder_is_idempotent(): void
|
||||
{
|
||||
$this->seed(DatabaseSeeder::class);
|
||||
$this->seed(DatabaseSeeder::class);
|
||||
|
||||
$this->assertSame(1, User::query()->where('email', 'demo@example.com')->count());
|
||||
$this->assertSame(1, User::query()->where('email', 'admin@example.com')->count());
|
||||
}
|
||||
|
||||
public function test_seeder_assigns_orphaned_recordings_to_demo_user(): void
|
||||
|
||||
Reference in New Issue
Block a user