Code Duplication    Length = 9-12 lines in 2 locations

src/TestSuite/IntegrationTestCase.php 1 location

@@ 97-108 (lines=12) @@
94
     *
95
     * @return void
96
     */
97
    public function tearDown()
98
    {
99
        parent::tearDown();
100
101
        Plugin::unload($this->_corePlugin);
102
        if ($this->_plugin !== $this->_corePlugin) {
103
            Plugin::unload($this->_plugin);
104
        }
105
106
        Cache::drop('test_cached');
107
        unset($this->_url);
108
    }
109
110
    /**
111
     * Prepare url.

src/TestSuite/TestCase.php 1 location

@@ 84-92 (lines=9) @@
81
     *
82
     * @return void
83
     */
84
    public function tearDown()
85
    {
86
        parent::tearDown();
87
        Plugin::unload($this->_corePlugin);
88
        if ($this->_plugin !== $this->_corePlugin) {
89
            Plugin::unload($this->_plugin);
90
        }
91
        Cache::drop('test_cached');
92
    }
93
94
    /**
95
     * Assert check is empty array.