13 protected $dynamicContent =
'/Content.Node/Willkommen.de.html';
20 public function setUp()
22 Yii::app()->cache->flush();
25 $this->source->contentFolder = Yii::app()->getModule(
'contentSource')->sourceSettings[
'FileSystemContentSource'][
'contentFolder'];
28 public function testGetContent()
30 $content = $this->source->getContent($this->dynamicContent);
31 $this->assertStringStartsWith(
'/', $content->getFile());
33 $this->assertFalse($this->source->getContent($this->dynamicContent .
'__'));