Skip to content

Commit

Permalink
IBX-3957: Applied review remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Oct 25, 2023
1 parent bd4088e commit 1496a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eZ/Publish/API/Repository/Tests/URLAliasServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1615,8 +1615,8 @@ public function testRenamingParentContentDoesntBreakChildAlias(): void

// 2. Create child folder
$child = $this->createFolder([$languageCode => 'b'], $folderLocationId);
$childLocationId = $child->contentInfo->getMainLocationId();
$childLocation = $locationService->loadLocation($childLocationId);
$childLocation = $child->getVersionInfo()->getContentInfo()->getMainLocation();
$childLocationId = $childLocation->id;

// 3. Create custom URL alias for child folder
$urlAliasService->createUrlAlias($childLocation, '/c/b', $languageCode);
Expand Down

0 comments on commit 1496a6f

Please sign in to comment.