From 6c18339ea5c6f950d7793f9acea8374202d75c6d Mon Sep 17 00:00:00 2001 From: Vidar Langseid Date: Wed, 17 Oct 2018 16:28:46 +0200 Subject: [PATCH] fixup! Added tests for DB gateway service --- tests/bundle/Command/BaseTest.php | 2 -- tests/bundle/Command/GatewayTest.php | 4 ---- tests/lib/SetupFactory/LegacyEmptyDBSetupFactory.php | 2 -- 3 files changed, 8 deletions(-) diff --git a/tests/bundle/Command/BaseTest.php b/tests/bundle/Command/BaseTest.php index 18a80c0b..bebdd498 100644 --- a/tests/bundle/Command/BaseTest.php +++ b/tests/bundle/Command/BaseTest.php @@ -4,8 +4,6 @@ * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. - * - * @version //autogentag// */ namespace EzSystems\EzPlatformXmlTextFieldTypeBundle\Tests\Command; diff --git a/tests/bundle/Command/GatewayTest.php b/tests/bundle/Command/GatewayTest.php index 9d592a6b..70314085 100644 --- a/tests/bundle/Command/GatewayTest.php +++ b/tests/bundle/Command/GatewayTest.php @@ -4,12 +4,9 @@ * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. - * - * @version //autogentag// */ namespace EzSystems\EzPlatformXmlTextFieldTypeBundle\Tests\Command; -use Symfony\Component\Console\Output\OutputInterface; use PDO; class GatewayTest extends BaseTest @@ -41,7 +38,6 @@ public function getContentTypeIdsProvider() */ public function testGetContentTypeIds($identifiers, $expected) { - //$this->getSetupFactory()->resetDB(); $this->insertDatabaseFixture(__DIR__ . '/_fixtures/contentclass.php'); $gatewayService = $this->getGatewayService(); $ids = $gatewayService->getContentTypeIds($identifiers); diff --git a/tests/lib/SetupFactory/LegacyEmptyDBSetupFactory.php b/tests/lib/SetupFactory/LegacyEmptyDBSetupFactory.php index 2760cdde..873f8ff5 100644 --- a/tests/lib/SetupFactory/LegacyEmptyDBSetupFactory.php +++ b/tests/lib/SetupFactory/LegacyEmptyDBSetupFactory.php @@ -5,8 +5,6 @@ * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. - * - * @version //autogentag// */ namespace EzSystems\EzPlatformXmlTextFieldType\Tests\SetupFactory;