Code Duplication    Length = 8-8 lines in 2 locations

codeception/acceptance/AA0PluginInstallerCest.php 1 location

@@ 26-33 (lines=8) @@
23
24
    protected $plugins = [];
25
26
    public function _before(\AcceptanceTester $I)
27
    {
28
        $fixtures = __DIR__.'/../_data/plugin_fixtures.php';
29
        if (file_exists($fixtures)) {
30
            $this->plugins = require $fixtures;
31
        }
32
        $I->loginAsAdmin();
33
    }
34
35
    public function _after(\AcceptanceTester $I)
36
    {

codeception/acceptance/ZZ99PluginUninstallerCest.php 1 location

@@ 26-33 (lines=8) @@
23
24
    protected $plugins = [];
25
26
    public function _before(\AcceptanceTester $I)
27
    {
28
        $fixtures = __DIR__.'/../_data/plugin_fixtures.php';
29
        if (file_exists($fixtures)) {
30
            $this->plugins = require $fixtures;
31
        }
32
        $I->loginAsAdmin();
33
    }
34
35
    public function _after(\AcceptanceTester $I)
36
    {