mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 20:34:03 +00:00
Travis should be failing
This commit is contained in:
parent
abda76a0f5
commit
99bc2a1d80
2 changed files with 10 additions and 1 deletions
|
|
@ -41,6 +41,10 @@ trait BootstrapsTenancy
|
||||||
|
|
||||||
public function end()
|
public function end()
|
||||||
{
|
{
|
||||||
|
// array_map(function ($listener) {
|
||||||
|
// $listener($this);
|
||||||
|
// }, $this->listeners['ending']);
|
||||||
|
|
||||||
$this->initialized = false;
|
$this->initialized = false;
|
||||||
|
|
||||||
$this->disconnectDatabase();
|
$this->disconnectDatabase();
|
||||||
|
|
@ -49,6 +53,10 @@ trait BootstrapsTenancy
|
||||||
}
|
}
|
||||||
$this->untagCache();
|
$this->untagCache();
|
||||||
$this->resetFileSystemRootPaths();
|
$this->resetFileSystemRootPaths();
|
||||||
|
|
||||||
|
array_map(function ($listener) {
|
||||||
|
$listener($this);
|
||||||
|
}, $this->listeners['ended']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function switchDatabaseConnection()
|
public function switchDatabaseConnection()
|
||||||
|
|
|
||||||
1
test
1
test
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
# for development
|
# for development
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue