From 31c6bce0d0daebf53e5c33c5902a740464cc4c02 Mon Sep 17 00:00:00 2001 From: Daniel Hoffmann Date: Mon, 9 Dec 2024 15:15:26 +0100 Subject: [PATCH] [WIP] Test something --- .../Service/RunningRequestServiceTest.php | 2 ++ Tests/FunctionalTestCase.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Tests/Functional/Features/PreventParallelPublishing/Service/RunningRequestServiceTest.php b/Tests/Functional/Features/PreventParallelPublishing/Service/RunningRequestServiceTest.php index 9561a3f65..cc98b026d 100644 --- a/Tests/Functional/Features/PreventParallelPublishing/Service/RunningRequestServiceTest.php +++ b/Tests/Functional/Features/PreventParallelPublishing/Service/RunningRequestServiceTest.php @@ -36,6 +36,8 @@ public function testRecordWithMmRecordCanBeMarkedAsPublishing(): void $recordTree = new RecordTree([$record]); + echo '-' . (string)$this->container->get('boot.state')->complete . '-'; + $connectionPool = GeneralUtility::makeInstance(ConnectionPool::class); $connection = $connectionPool->getConnectionByName('Default'); diff --git a/Tests/FunctionalTestCase.php b/Tests/FunctionalTestCase.php index f461dab90..4285df49a 100644 --- a/Tests/FunctionalTestCase.php +++ b/Tests/FunctionalTestCase.php @@ -32,7 +32,7 @@ abstract class FunctionalTestCase extends \TYPO3\TestingFramework\Core\Functiona 'typo3/sysext/extensionmanager', 'typo3conf/ext/in2publish_core', ]; - private ContainerInterface $container; + protected ContainerInterface $container; /** * These two internal variable track if the given test is the first test of * that test case. This variable is set to current calling test case class.