/** * @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']); }
/** * Flags entries in database */ public function flagEntries() { foreach ($this->configuration->getTables() as $table) { $this->featureFlagRepository->updateFeatureFlagStatusForTable($table); } }