mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Update testing.blade.md (#58)
* Update testing.blade.md Added call to parent's setUp() method others some essential operations will not be run e.g resetting of db, etc. * Reindent Co-authored-by: Samuel Stancl <samuel.stancl@gmail.com>
This commit is contained in:
parent
5ccbb7d6e2
commit
ffc406bff1
1 changed files with 3 additions and 1 deletions
|
|
@ -27,6 +27,8 @@ class TestCase // extends ...
|
||||||
|
|
||||||
public function setUp(): void
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
|
parent::setUp();
|
||||||
|
|
||||||
if ($this->tenancy) {
|
if ($this->tenancy) {
|
||||||
$this->initializeTenancy();
|
$this->initializeTenancy();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue