Code Duplication    Length = 9-9 lines in 2 locations

eZ/Publish/API/Repository/Tests/FieldType/BaseIntegrationTest.php 2 locations

@@ 663-671 (lines=9) @@
660
     * @dep_ends eZ\Publish\API\Repository\Tests\ContentServiceTest::testLoadContent
661
     * @depends testCreateContent
662
     */
663
    public function testLoadField()
664
    {
665
        $content = $this->testCreateContent();
666
667
        $repository = $this->getRepository();
668
        $contentService = $repository->getContentService();
669
670
        return $contentService->loadContent($content->contentInfo->id);
671
    }
672
673
    /**
674
     * @depends testLoadField
@@ 738-746 (lines=9) @@
735
     * @depends testCreateContentWithEmptyFieldValue
736
     * @group xx
737
     */
738
    public function testLoadEmptyFieldValue()
739
    {
740
        $content = $this->testCreateContentWithEmptyFieldValue();
741
742
        $repository = $this->getRepository();
743
        $contentService = $repository->getContentService();
744
745
        return $contentService->loadContent($content->contentInfo->id);
746
    }
747
748
    /**
749
     * @depends testLoadEmptyFieldValue