Beispiel #1
0
 public function testCleanUp()
 {
     $data = ['title' => 'ä   ü ö   Ä Ü Ö', 'tags' => ['tag1', 'tag2'], 'url' => '/', 'article' => 'article'];
     $structure = $this->mapper->save($data, 'overview', 'sulu_io', 'en', 1);
     $node = $this->session->getNodeByIdentifier($structure->getUuid());
     $this->assertEquals($node->getName(), 'ae-ue-oe-ae-ue-oe');
     $this->assertEquals($node->getPath(), '/cmf/sulu_io/contents/ae-ue-oe-ae-ue-oe');
 }