getEmptyContent() public méthode

public getEmptyContent ( $contenttypeslug )
Exemple #1
0
 public function testGetEmptyContent()
 {
     $app = $this->getApp();
     $storage = new Storage($app);
     $showcase = $storage->getEmptyContent('showcase');
     $this->assertInstanceOf('Bolt\\Legacy\\Content', $showcase);
     $this->assertEquals('showcases', $showcase->contenttype['slug']);
 }