eZ\Bundle\EzPublishRestBundle\Tests\Functional\UrlAliasTest::testCreateFolder PHP 메소드

testCreateFolder() 공개 메소드

public testCreateFolder ( ) : string
리턴 string The folder's main location href
    public function testCreateFolder()
    {
        $folderArray = $this->createFolder(__METHOD__, '/api/ezp/v2/content/locations/1/2');
        $folderLocations = $this->getContentLocations($folderArray['_href']);
        return $folderLocations['LocationList']['Location'][0]['_href'];
    }