mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for tests
This commit is contained in:
parent
e4aeedc363
commit
a8aae52bfe
@ -63,9 +63,9 @@ class VendorApiTest extends TestCase
|
|||||||
$this->assertNull($v->last_login);
|
$this->assertNull($v->last_login);
|
||||||
$this->assertNull($vc->last_login);
|
$this->assertNull($vc->last_login);
|
||||||
|
|
||||||
|
Event::fake();
|
||||||
event(new VendorContactLoggedIn($vc, $this->company, Ninja::eventVars()));
|
event(new VendorContactLoggedIn($vc, $this->company, Ninja::eventVars()));
|
||||||
|
|
||||||
Event::fake();
|
|
||||||
|
|
||||||
Event::assertDispatched(VendorContactLoggedIn::class);
|
Event::assertDispatched(VendorContactLoggedIn::class);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user