/**
  * @test
  */
 public function shouldShowElementForBehaviorHideAndDisabledFeatureFlag()
 {
     $this->importDataSet(dirname(__FILE__) . '/fixtures/FeatureFlagTest.shouldShowElementForBehaviorShowAndEnabledFeatureFlag.xml');
     $this->featureFlagRepository->updateFeatureFlagStatusForTable('tt_content');
     $contentElement = $this->getContentElement(4712);
     $this->assertEquals('0', $contentElement[0]['hidden']);
 }
Exemplo n.º 2
0
 /**
  * Flags entries in database
  */
 public function flagEntries()
 {
     foreach ($this->configuration->getTables() as $table) {
         $this->featureFlagRepository->updateFeatureFlagStatusForTable($table);
     }
 }