From d4ccf6a7ea7debed20b321903eb7815a7820ed5d Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 12 Dec 2016 18:04:50 +0100 Subject: [PATCH] Fix codacy issue --- Tests/Functional/Hooks/DataHandlerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/Functional/Hooks/DataHandlerTest.php b/Tests/Functional/Hooks/DataHandlerTest.php index f64fbd6..a1a17b7 100644 --- a/Tests/Functional/Hooks/DataHandlerTest.php +++ b/Tests/Functional/Hooks/DataHandlerTest.php @@ -105,6 +105,7 @@ class DataHandlerTest extends AbstractFunctionalTestCase $hook = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(Hook::class); $hook->processDatamap_afterDatabaseOperations('something', 'tt_content', 6, [], $dataHandler); - $response = $this->client->request('typo3content/_search?q=*:*'); + // Should trigger Exception + $this->client->request('typo3content/_search?q=*:*'); } }