From 32ac54d83094dd39a70f1824b44a0a60fce62554 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 15 Oct 2023 15:58:15 +0200 Subject: [PATCH] Fix SmiliesTest Reduce noise because of wrong 'structure)->at($this->root); @@ -190,7 +190,7 @@ EOF; public function testNoHooksConfig() { $filename = 'addon/testaddon1/static/hooks.config.php'; - $wrongContent = "structure)->at($this->root); diff --git a/tests/src/Core/Hooks/Util/StrategiesFileManagerTest.php b/tests/src/Core/Hooks/Util/StrategiesFileManagerTest.php index ebb213fa7b..b70d3d8964 100644 --- a/tests/src/Core/Hooks/Util/StrategiesFileManagerTest.php +++ b/tests/src/Core/Hooks/Util/StrategiesFileManagerTest.php @@ -190,7 +190,7 @@ EOF, $hookFileManager = new StrategiesFileManager($this->root->url(), $addonLoader); vfsStream::newFile(StrategiesFileManager::STATIC_DIR . '/' . StrategiesFileManager::CONFIG_NAME . '.config.php') - ->withContent("withContent("at($this->root); self::expectException(HookConfigException::class);