Skip to content

Commit 4aa3746

Browse files
committed
Tests: drop NeonLoader
1 parent 51674d5 commit 4aa3746

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

tests/Cases/Core/DI/ApiExtension.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ use Apitte\Core\Mapping\Validator\SymfonyValidator;
1212
use Apitte\Core\Schema\Schema;
1313
use Contributte\Tester\Environment;
1414
use Contributte\Tester\Toolkit;
15+
use Contributte\Tester\Utils\Neonkit;
1516
use Nette\DI\Compiler;
1617
use Nette\DI\Container;
1718
use Nette\DI\ContainerLoader;
1819
use Tester\Assert;
1920
use Tests\Fixtures\Controllers\AnnotationFoobarController;
2021
use Tests\Fixtures\Psr\DummyLogger;
21-
use Tests\Toolkit\NeonLoader;
2222

2323
require_once __DIR__ . '/../../../bootstrap.php';
2424

@@ -99,7 +99,7 @@ Toolkit::test(function (): void {
9999
$loader = new ContainerLoader(Environment::getTestDir(), true);
100100
$class = $loader->load(function (Compiler $compiler): void {
101101
$compiler->addExtension('api', new ApiExtension());
102-
$compiler->addConfig(NeonLoader::load(<<<'NEON'
102+
$compiler->addConfig(Neonkit::load(<<<'NEON'
103103
services:
104104
validator:
105105
factory: Apitte\Core\Mapping\Validator\SymfonyValidator(
@@ -129,7 +129,7 @@ Toolkit::test(function (): void {
129129
$loader = new ContainerLoader(Environment::getTestDir(), true);
130130
$class = $loader->load(function (Compiler $compiler): void {
131131
$compiler->addExtension('api', new ApiExtension());
132-
$compiler->addConfig(NeonLoader::load(<<<'NEON'
132+
$compiler->addConfig(Neonkit::load(<<<'NEON'
133133
api:
134134
plugins:
135135
Apitte\Core\DI\Plugin\CoreMappingPlugin:

tests/Toolkit/NeonLoader.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)