Code Duplication    Length = 8-8 lines in 3 locations

src/OpenOrchestra/Tests/Functional/GroupBundle/Repository/GroupRepositoryTest.php 1 location

@@ 30-37 (lines=8) @@
27
    /**
28
     * Set up test
29
     */
30
    protected function setUp()
31
    {
32
        parent::setUp();
33
34
        static::bootKernel();
35
        $this->repository = static::$kernel->getContainer()->get('open_orchestra_user.repository.group');
36
        $this->siteRepository = static::$kernel->getContainer()->get('open_orchestra_model.repository.site');
37
    }
38
39
    /**
40
     * @param PaginateFinderConfiguration $configuration

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

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

src/OpenOrchestra/Tests/Functional/ModelBundle/Repository/NodeRepositoryTest.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->repository = static::$kernel->getContainer()->get('open_orchestra_model.repository.node');
34
        $this->userRepository = static::$kernel->getContainer()->get('open_orchestra_user.repository.user');
35
    }
36
37
    /**
38
     * @param string $language