Skip to content

Commit

Permalink
test: go to csv
Browse files Browse the repository at this point in the history
  • Loading branch information
aoekrz committed Jun 19, 2024
1 parent 5294a39 commit 19520be
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 30 deletions.
12 changes: 6 additions & 6 deletions Tests/Functional/System/Db/FeatureFlagDataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ class FeatureFlagDataTest extends FunctionalTestCase

public function testShouldGetContentElements(): void
{
$this->importDataSet(
$this->importCSVDataSet(
__DIR__ .
'/fixtures/FeatureFlagDataTest.xml'
'/fixtures/FeatureFlagDataTest.csv'
);

$instance = new FeatureFlagData();
Expand All @@ -55,9 +55,9 @@ public function testShouldGetContentElements(): void

public function testUpdateContentElements(): void
{
$this->importDataSet(
$this->importCSVDataSet(
__DIR__ .
'/fixtures/FeatureFlagDataTest.xml'
'/fixtures/FeatureFlagDataTest.csv'
);

$instance = new FeatureFlagData();
Expand All @@ -71,9 +71,9 @@ public function testUpdateContentElements(): void

public function testGetContentElementsPIDs(): void
{
$this->importDataSet(
$this->importCSVDataSet(
__DIR__ .
'/fixtures/FeatureFlagDataTest.xml'
'/fixtures/FeatureFlagDataTest.csv'
);

$instance = new FeatureFlagData();
Expand Down
9 changes: 9 additions & 0 deletions Tests/Functional/System/Db/fixtures/FeatureFlagDataTest.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tx_featureflag_domain_model_featureflag,,,,,
,uid,pid,description,flag,enabled
,4711,1001,"lorem ipsum",shouldHideElementForBehaviorHideAndEnabledFeatureFlag,1
tt_content,,,,
,uid,bodytext,filelink_sorting,hidden
,4712,"lorem ipsum",,0
tx_featureflag_domain_model_mapping,,,,
,feature_flag,foreign_table_uid,foreign_table_name,behavior
,4711,4712,tt_content,0
24 changes: 0 additions & 24 deletions Tests/Functional/System/Db/fixtures/FeatureFlagDataTest.xml

This file was deleted.

0 comments on commit 19520be

Please sign in to comment.