From d1462571edbf82c829553a65b35622999785526b Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 21 Aug 2020 18:21:33 +0200 Subject: [PATCH] Use Config class for data from config.php --- php-packages/testing/tests/integration/TestCase.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php-packages/testing/tests/integration/TestCase.php b/php-packages/testing/tests/integration/TestCase.php index d7253f45c..16a65f07e 100644 --- a/php-packages/testing/tests/integration/TestCase.php +++ b/php-packages/testing/tests/integration/TestCase.php @@ -10,6 +10,7 @@ namespace Flarum\Tests\integration; use Flarum\Extend\ExtenderInterface; +use Flarum\Foundation\Config; use Flarum\Foundation\InstalledSite; use Flarum\Foundation\Paths; use Illuminate\Database\ConnectionInterface; @@ -40,7 +41,7 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase 'public' => __DIR__.'/tmp/public', 'storage' => __DIR__.'/tmp/storage', ]), - include __DIR__.'/tmp/config.php' + new Config(include __DIR__.'/tmp/config.php') ); $site->extendWith($this->extenders);