From: Philipp Date: Sun, 15 Oct 2023 13:58:15 +0000 (+0200) Subject: Fix SmiliesTest X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=32ac54d83094dd39a70f1824b44a0a60fce62554;p=friendica.git 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);