mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 21:34:04 +00:00
shouldHaveReceived
This commit is contained in:
parent
9892c3afc7
commit
bea6e4f5e9
1 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ class TenantClassTest extends TestCase
|
|||
$this->assertSame('ddd', $tenant->data['ccc']);
|
||||
|
||||
$spy->shouldNotHaveReceived('get');
|
||||
|
||||
$this->assertSame(null, $tenant->dfuighdfuigfhdui);
|
||||
$spy->shouldHaveReceived('get')->once();
|
||||
|
||||
Mockery::close();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue