diff --git a/modules/Mailgateway/UpdateTest.php b/modules/Mailgateway/UpdateTest.php index ad8cf72d..e84cb2d2 100644 --- a/modules/Mailgateway/UpdateTest.php +++ b/modules/Mailgateway/UpdateTest.php @@ -62,7 +62,10 @@ it('test it updates a mailman gateway without updating password', function () { Livewire::test(Form::class, ['model' => $mailgateway->id]) ->set('name', '::newname::') ->call('onSave') - ->assertHasNoErrors(); + ->assertHasNoErrors() + ->assertDispatched('closeModal') + ->assertDispatched('refresh-page') + ->assertDispatched('success'); $this->assertDatabaseCount('mailgateways', 1); $this->assertDatabaseHas('mailgateways', [