From 5bf019e2df77683a2473129f8aa6af32c8ab7c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barto=C5=A1?= Date: Fri, 3 Jan 2020 16:49:52 +0100 Subject: [PATCH] Tests: Fix nette/neon 3.1.0 compatibility --- tests/cases/Unit/Command/Command.HelperSet.phpt | 2 +- tests/cases/Unit/DI/ConsoleExtension.lazy.phpt | 2 +- tests/cases/Unit/DI/ConsoleExtension.phpt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cases/Unit/Command/Command.HelperSet.phpt b/tests/cases/Unit/Command/Command.HelperSet.phpt index 725b0a4..c42d234 100644 --- a/tests/cases/Unit/Command/Command.HelperSet.phpt +++ b/tests/cases/Unit/Command/Command.HelperSet.phpt @@ -23,7 +23,7 @@ test(function (): void { $compiler->addExtension('console', new ConsoleExtension(true)); $compiler->loadConfig(FileMock::create(' console: - lazy: off + lazy: false services: - Tests\Fixtures\HelperSetCommand ', 'neon')); diff --git a/tests/cases/Unit/DI/ConsoleExtension.lazy.phpt b/tests/cases/Unit/DI/ConsoleExtension.lazy.phpt index 6bf19e5..58f1094 100644 --- a/tests/cases/Unit/DI/ConsoleExtension.lazy.phpt +++ b/tests/cases/Unit/DI/ConsoleExtension.lazy.phpt @@ -23,7 +23,7 @@ test(function (): void { $compiler->addExtension('console', new ConsoleExtension(true)); $compiler->loadConfig(FileMock::create(' console: - lazy: on + lazy: true services: foo: Tests\Fixtures\FooCommand ', 'neon')); diff --git a/tests/cases/Unit/DI/ConsoleExtension.phpt b/tests/cases/Unit/DI/ConsoleExtension.phpt index a71eb1c..be05dd7 100644 --- a/tests/cases/Unit/DI/ConsoleExtension.phpt +++ b/tests/cases/Unit/DI/ConsoleExtension.phpt @@ -38,7 +38,7 @@ test(function (): void { $compiler->addExtension('console', new ConsoleExtension(true)); $compiler->loadConfig(FileMock::create(' console: - lazy: off + lazy: false services: foo: Tests\Fixtures\FooCommand ', 'neon'));