Fixes for tests

This commit is contained in:
David Bomba 2023-08-21 17:41:24 +10:00
parent e4aeedc363
commit a8aae52bfe

View File

@ -63,9 +63,9 @@ class VendorApiTest extends TestCase
$this->assertNull($v->last_login);
$this->assertNull($vc->last_login);
Event::fake();
event(new VendorContactLoggedIn($vc, $this->company, Ninja::eventVars()));
Event::fake();
Event::assertDispatched(VendorContactLoggedIn::class);