Ejemplo n.º 1
0
 /**
  * Test cache key, no params
  * @TODO Possibly load the resulting markup as a DOM object and test various children in it;
  * this would enforce valid markup
  */
 public function testCacheKeyNoRequestParams()
 {
     $config = Config::getInstance();
     $config->setValue('cache_pages', true);
     $controller = new TestController(true);
     $results = $controller->go();
     $this->assertEqual($controller->getCacheKeyString(), 'testme.tpl-');
 }