Skip to content

Commit

Permalink
Tests: drop NeonLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Dec 1, 2023
1 parent 51674d5 commit 4aa3746
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
6 changes: 3 additions & 3 deletions tests/Cases/Core/DI/ApiExtension.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ use Apitte\Core\Mapping\Validator\SymfonyValidator;
use Apitte\Core\Schema\Schema;
use Contributte\Tester\Environment;
use Contributte\Tester\Toolkit;
use Contributte\Tester\Utils\Neonkit;
use Nette\DI\Compiler;
use Nette\DI\Container;
use Nette\DI\ContainerLoader;
use Tester\Assert;
use Tests\Fixtures\Controllers\AnnotationFoobarController;
use Tests\Fixtures\Psr\DummyLogger;
use Tests\Toolkit\NeonLoader;

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

Expand Down Expand Up @@ -99,7 +99,7 @@ Toolkit::test(function (): void {
$loader = new ContainerLoader(Environment::getTestDir(), true);
$class = $loader->load(function (Compiler $compiler): void {
$compiler->addExtension('api', new ApiExtension());
$compiler->addConfig(NeonLoader::load(<<<'NEON'
$compiler->addConfig(Neonkit::load(<<<'NEON'
services:
validator:
factory: Apitte\Core\Mapping\Validator\SymfonyValidator(
Expand Down Expand Up @@ -129,7 +129,7 @@ Toolkit::test(function (): void {
$loader = new ContainerLoader(Environment::getTestDir(), true);
$class = $loader->load(function (Compiler $compiler): void {
$compiler->addExtension('api', new ApiExtension());
$compiler->addConfig(NeonLoader::load(<<<'NEON'
$compiler->addConfig(Neonkit::load(<<<'NEON'
api:
plugins:
Apitte\Core\DI\Plugin\CoreMappingPlugin:
Expand Down
19 changes: 0 additions & 19 deletions tests/Toolkit/NeonLoader.php

This file was deleted.

0 comments on commit 4aa3746

Please sign in to comment.