getEmptyContent() public method

public getEmptyContent ( $contenttypeslug )
Beispiel #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']);
 }