Code Duplication    Length = 8-8 lines in 3 locations

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

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

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/UserAdminBundle/Repository/UserRepositoryTest.php 1 location

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