Upgrade to Livewire 3 (#103)

* upgrade to livewire 3

* fix updater

* fix modal events

* fix modal events
This commit is contained in:
Saeed Vaziry
2024-02-04 18:11:22 +01:00
committed by GitHub
parent 3da1f4fe4c
commit 8bffefabef
98 changed files with 529 additions and 303 deletions

View File

@ -47,7 +47,7 @@ public function test_create_ssl()
Livewire::test(CreateSsl::class, ['site' => $this->site])
->set('type', SslType::LETSENCRYPT)
->call('create')
->assertDispatchedBrowserEvent('created');
->assertDispatched('created');
$this->assertDatabaseHas('ssls', [
'site_id' => $this->site->id,
@ -71,7 +71,7 @@ public function test_delete_ssl()
Livewire::test(SslsList::class, ['site' => $this->site])
->set('deleteId', $ssl->id)
->call('delete')
->assertDispatchedBrowserEvent('confirmed');
->assertDispatched('confirmed');
$this->assertDatabaseHas('ssls', [
'id' => $ssl->id,