diff --git a/tests/KdybyTests/Autowired/ExtensionTest.phpt b/tests/KdybyTests/Autowired/ExtensionTest.phpt index e1e52b7..434f33f 100644 --- a/tests/KdybyTests/Autowired/ExtensionTest.phpt +++ b/tests/KdybyTests/Autowired/ExtensionTest.phpt @@ -29,7 +29,8 @@ class ExtensionTest extends Tester\TestCase Debugger::$logDirectory = TEMP_DIR; $refl = new \ReflectionProperty('\Nette\Application\UI\Presenter', 'onShutdown'); - $file = Debugger::log(new Kdyby\Autowired\MissingServiceException('Missing service blabla', $refl)); + // @ to suppress deprecation warning from Tracy on PHP >=8.4, see https://github.com/nette/tracy/pull/587 + $file = @Debugger::log(new Kdyby\Autowired\MissingServiceException('Missing service blabla', $refl)); Assert::match('%A%