mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-16 16:37:47 +00:00
refactor: upgrade to Livewire 4
This commit is contained in:
parent
c94dd89361
commit
a15645ad88
56 changed files with 166 additions and 278 deletions
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
|
||||
use Livewire\Volt\Volt;
|
||||
|
||||
uses(Illuminate\Foundation\Testing\RefreshDatabase::class);
|
||||
|
||||
test('registration screen can be rendered', function (): void {
|
||||
|
|
@ -11,7 +9,7 @@ test('registration screen can be rendered', function (): void {
|
|||
});
|
||||
|
||||
test('new users can register', function (): void {
|
||||
$response = Volt::test('auth.register')
|
||||
$response = Livewire::test('auth.register')
|
||||
->set('name', 'Test User')
|
||||
->set('email', 'test@example.com')
|
||||
->set('password', 'password')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue