Skip to content

Commit

Permalink
fix: Revert unnecessary changes to integration test structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Nattfarinn committed Dec 20, 2023
1 parent d8cc6f1 commit e1f6ca6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eZ/Publish/API/Repository/Tests/NonRedundantFieldSetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function testCreateContentEmptyValuesTranslationNotStored()
*
* @param \eZ\Publish\API\Repository\Values\Content\Content $content
*/
public function testCreateContentEmptyValuesTranslationVirtualFields(Content $content): void
public function testCreateContentEmptyValuesTranslationNotStoredFields(Content $content)
{
$emptyValue = $this->getRepository()->getFieldTypeService()->getFieldType('ezstring')->getEmptyValue();

Expand All @@ -167,7 +167,7 @@ public function testCreateContentEmptyValuesTranslationVirtualFields(Content $co
$this->assertEquals($emptyValue, $content->getFieldValue('field3', 'eng-US'));
$this->assertEquals($emptyValue, $content->getFieldValue('field4', 'eng-US'));

// ger-DE is not stored
// ger-DE is not stored!
$this->assertNotContains('ger-DE', $content->versionInfo->languageCodes);
}

Expand Down Expand Up @@ -262,7 +262,7 @@ public function testCreateContentTwoLanguagesSecondTranslationNotStored()
*
* @param \eZ\Publish\API\Repository\Values\Content\Content $content
*/
public function testCreateContentTwoLanguagesSecondTranslationVirtualFields(Content $content): void
public function testCreateContentTwoLanguagesSecondTranslationNotStoredFields(Content $content)
{
$emptyValue = $this->getRepository()->getFieldTypeService()->getFieldType('ezstring')->getEmptyValue();

Expand All @@ -276,7 +276,7 @@ public function testCreateContentTwoLanguagesSecondTranslationVirtualFields(Cont
$this->assertEquals($emptyValue, $content->getFieldValue('field3', 'eng-US'));
$this->assertEquals('default value 4', $content->getFieldValue('field4', 'eng-US'));

// ger-DE is not stored
// ger-DE is not stored!
$this->assertNotContains('ger-DE', $content->versionInfo->languageCodes);
}

Expand Down

0 comments on commit e1f6ca6

Please sign in to comment.