Skip to content

Commit

Permalink
NGSTACK-836 remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Katarina Miočić committed Jul 12, 2024
1 parent 7dfbc42 commit b6fc54a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ private function createLocationsForTesting(): array
$locationCreateStruct = $locationService->newLocationCreateStruct($childLocation->id);
$contentCreateStruct = $contentService->newContentCreateStruct($contentType3, 'eng-GB');
$contentCreateStruct->setField('name', 'more');
$contentCreateStruct->setField('name', 'mogorush', 'ger-DE');
$contentDraft = $contentService->createContent($contentCreateStruct, [$locationCreateStruct]);
$grandChildContentCreated = $contentService->publishVersion($contentDraft->versionInfo);
$grandChildLocation = $grandChildContentCreated->contentInfo->getMainLocation();
Expand Down
5 changes: 0 additions & 5 deletions tests/lib/Integration/API/DescendantIndexingTrashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
use Ibexa\Core\Repository\SiteAccessAware\ContentTypeService;
use Ibexa\Tests\Integration\Core\Repository\BaseTest;

/**
* @group descendant-indexing
*/
final class DescendantIndexingTrashTest extends BaseTest
{

Expand Down Expand Up @@ -143,8 +140,6 @@ private function createContentForTesting() {
$locationCreateStruct = $locationService->newLocationCreateStruct($childLocation->id);
$contentCreateStruct = $contentService->newContentCreateStruct($contentType3, 'eng-GB');
$contentCreateStruct->setField('name', 'more');
//for testDeleteTranslation()
$contentCreateStruct->setField('name', 'mogorush', 'ger-DE');
$contentDraft = $contentService->createContent($contentCreateStruct, [$locationCreateStruct]);
$grandChildContentCreated = $contentService->publishVersion($contentDraft->versionInfo);

Expand Down

0 comments on commit b6fc54a

Please sign in to comment.