1
0
Fork 0
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:
Samuel Štancl 2019-08-14 17:19:45 +02:00
parent abda76a0f5
commit 99bc2a1d80
2 changed files with 10 additions and 1 deletions

View file

@ -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
View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
set -e
# for development # for development
docker-compose up -d docker-compose up -d