Code Duplication    Length = 8-9 lines in 2 locations

Tests/Functional/Controller/SettingsManagerControllerTest.php 1 location

@@ 43-51 (lines=9) @@
40
    /**
41
     * {@inheritdoc}
42
     */
43
    public function setUp()
44
    {
45
        parent::setUp();
46
47
        $this->loginHelper = new LoginTestHelper(static::createClient());
48
        $this->client = $this->loginHelper->loginAction();
49
50
        $this->container = $this->client->getContainer();
51
    }
52
53
    /**
54
     * Data provider for testCopyAction.

Tests/Functional/Twig/PersonalSettingWidgetExtensionTest.php 1 location

@@ 43-50 (lines=8) @@
40
    /**
41
     * {@inheritdoc}
42
     */
43
    public function setUp()
44
    {
45
        parent::setUp();
46
47
        $this->client = static::createClient();
48
        $this->twig = $this->client->getContainer()->get('twig');
49
        $this->loginHelper = new LoginTestHelper($this->client);
50
    }
51
52
    /**
53
     * Cases for testExtensionInTemplate.