Skip to content

Commit

Permalink
tests: fixed deprecated Nette\Configurator class usage
Browse files Browse the repository at this point in the history
  • Loading branch information
uestla committed Sep 12, 2023
1 parent 6d1b601 commit e3b8742
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/tester/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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();

Expand Down

0 comments on commit e3b8742

Please sign in to comment.