示例#1
0
 /**
  * @test
  */
 public function purgeCachedConfigurationsDropsCachedConfiguration()
 {
     $this->testingFramework->discardFakeFrontEnd();
     Tx_Oelib_TemplateHelper::setCachedConfigurationValue('foo', 'bar');
     Tx_Oelib_TemplateHelper::purgeCachedConfigurations();
     $subject = new Tx_Oelib_TemplateHelper();
     $subject->init();
     self::assertSame('', $subject->getConfValueString('foo'));
 }
示例#2
0
 /**
  * The constructor.
  *
  * @param array $configuration
  *        TS setup configuration, may be empty
  */
 public function __construct(array $configuration = array())
 {
     parent::init($configuration);
 }