mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 03: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']);
|
$this->assertSame('ddd', $tenant->data['ccc']);
|
||||||
|
|
||||||
$spy->shouldNotHaveReceived('get');
|
$spy->shouldNotHaveReceived('get');
|
||||||
|
|
||||||
|
$this->assertSame(null, $tenant->dfuighdfuigfhdui);
|
||||||
|
$spy->shouldHaveReceived('get')->once();
|
||||||
|
|
||||||
Mockery::close();
|
Mockery::close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue