eZ\Bundle\EzPublishRestBundle\Tests\Functional\UrlAliasTest::testCreateFolder PHP Méthode

testCreateFolder() public méthode

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