eZ\Bundle\EzPublishRestBundle\Tests\Functional\UrlAliasTest::testCreateFolder PHP Method

testCreateFolder() public method

public testCreateFolder ( ) : string
return 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'];
    }