From e3b87421260301875f0965a2509268652d6d4f58 Mon Sep 17 00:00:00 2001 From: Petr Kessler Date: Tue, 12 Sep 2023 11:41:13 +0200 Subject: [PATCH] tests: fixed deprecated Nette\Configurator class usage --- tests/tester/autoload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/tester/autoload.php b/tests/tester/autoload.php index 37eb9f5..ef6e22a 100644 --- a/tests/tester/autoload.php +++ b/tests/tester/autoload.php @@ -4,6 +4,7 @@ use Tester\Helpers; use Nette\DI\Container; +use Nette\Bootstrap\Configurator; require_once __DIR__ . '/../../vendor/autoload.php'; require_once __DIR__ . '/Mocks/CustomRequester.php'; @@ -24,7 +25,7 @@ function dd($var): void function createContainer(string $config): Container { - $configurator = new Nette\Configurator; + $configurator = new Configurator; $tempDir = __DIR__ . '/../var/temp/' . getmypid();