Code Duplication    Length = 8-8 lines in 2 locations

codeception/acceptance/AA0PluginInstallerCest.php 1 location

@@ 15-22 (lines=8) @@
12
13
    protected $plugins = [];
14
15
    public function _before(\AcceptanceTester $I)
16
    {
17
        $fixtures = __DIR__.'/../_data/plugin_fixtures.php';
18
        if (file_exists($fixtures)) {
19
            $this->plugins = require $fixtures;
20
        }
21
        $I->loginAsAdmin();
22
    }
23
24
    public function _after(\AcceptanceTester $I)
25
    {

codeception/acceptance/ZZ99PluginUninstallerCest.php 1 location

@@ 15-22 (lines=8) @@
12
13
    protected $plugins = [];
14
15
    public function _before(\AcceptanceTester $I)
16
    {
17
        $fixtures = __DIR__.'/../_data/plugin_fixtures.php';
18
        if (file_exists($fixtures)) {
19
            $this->plugins = require $fixtures;
20
        }
21
        $I->loginAsAdmin();
22
    }
23
24
    public function _after(\AcceptanceTester $I)
25
    {