setUpConfiguration([ 'restUrl = https://example.com/some-path/', ]); $this->importDataSet('EXT:events/Tests/Functional/Import/DestinationDataTest/Fixtures/FeaturesImportConfiguration.xml'); $this->setUpResponses([ new Response(200, [], file_get_contents(__DIR__ . '/Fixtures/ResponseWithFeatures.json') ?: ''), ]); $tester = $this->executeCommand([ 'configurationUid' => '1', ], ImportDestinationDataViaConfigruationCommand::class); $this->assertCSVDataSet('EXT:events/Tests/Functional/Import/DestinationDataTest/Assertions/ImportsFeaturesAddsNewFeatures.csv'); self::assertFileEquals( __DIR__ . '/Assertions/EmptyLogFile.txt', $this->getInstancePath() . '/typo3temp/var/log/typo3_0493d91d8e.log', 'Logfile was not empty.' ); } }