Skip to content

Commit 7ee0e79

Browse files
committed
IBX-8148: Stan
1 parent c081478 commit 7ee0e79

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/integration/Core/Repository/ContentServiceTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6735,7 +6735,13 @@ private function createParentLocationsForHideReveal(int $parentLocationId): arra
67356735
$this->createFolder([self::ENG_US => 'P3'], $parentLocationId)->contentInfo->mainLocationId,
67366736
];
67376737

6738-
return array_values($this->locationService->loadLocationList($parentFoldersLocationsIds));
6738+
$locations = $this->locationService->loadLocationList($parentFoldersLocationsIds);
6739+
$locationsArray = [];
6740+
foreach ($locations as $location) {
6741+
$locationsArray[] = $location;
6742+
}
6743+
6744+
return array_values($locationsArray);
67396745
}
67406746

67416747
/**

0 commit comments

Comments
 (0)