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,6 @@
|
|||
<?php
|
||||
|
||||
use App\Models\User;
|
||||
use Livewire\Volt\Volt;
|
||||
|
||||
uses(Illuminate\Foundation\Testing\RefreshDatabase::class);
|
||||
|
||||
|
|
@ -18,7 +17,7 @@ test('password can be confirmed', function (): void {
|
|||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = Volt::test('auth.confirm-password')
|
||||
$response = Livewire::test('auth.confirm-password')
|
||||
->set('password', 'password')
|
||||
->call('confirmPassword');
|
||||
|
||||
|
|
@ -32,7 +31,7 @@ test('password is not confirmed with invalid password', function (): void {
|
|||
|
||||
$this->actingAs($user);
|
||||
|
||||
$response = Volt::test('auth.confirm-password')
|
||||
$response = Livewire::test('auth.confirm-password')
|
||||
->set('password', 'wrong-password')
|
||||
->call('confirmPassword');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue