Fix basePath in unit tests reference DB

This commit is contained in:
ArthurHoaro 2020-07-28 22:24:41 +02:00
parent 624123177f
commit f7f08ceec1
9 changed files with 27 additions and 28 deletions
application/front

View file

@ -93,6 +93,7 @@ class ShaarliMiddleware
return;
}
$this->container->updater->setBasePath($this->container->basePath);
$newUpdates = $this->container->updater->update();
if (!empty($newUpdates)) {
$this->container->updater->writeUpdates(