Code Duplication    Length = 8-8 lines in 2 locations

tests/OpenOrchestra/Tests/Functional/ModelBundle/Repository/NodeRepositoryTest.php 1 location

@@ 27-34 (lines=8) @@
24
    /**
25
     * Set up test
26
     */
27
    protected function setUp()
28
    {
29
        parent::setUp();
30
31
        static::bootKernel();
32
        $this->repository = static::$kernel->getContainer()->get('open_orchestra_model.repository.node');
33
        $this->userRepository = static::$kernel->getContainer()->get('open_orchestra_user.repository.user');
34
    }
35
36
    /**
37
     * @param string $language

tests/OpenOrchestra/Tests/Functional/MediaAdminBundle/Repository/MediaRepositoryTest.php 1 location

@@ 28-35 (lines=8) @@
25
    /**
26
     * Set up test
27
     */
28
    protected function setUp()
29
    {
30
        parent::setUp();
31
32
        static::bootKernel();
33
        $this->keywordRepository = static::$kernel->getContainer()->get('open_orchestra_model.repository.keyword');
34
        $this->repository = static::$kernel->getContainer()->get('open_orchestra_media.repository.media');
35
    }
36
37
    /**
38
     * @param string $keywords