| @@ 105-116 (lines=12) @@ | ||
| 102 | * |
|
| 103 | * @return void |
|
| 104 | */ |
|
| 105 | public function tearDown() |
|
| 106 | { |
|
| 107 | parent::tearDown(); |
|
| 108 | ||
| 109 | Plugin::unload($this->_corePlugin); |
|
| 110 | if ($this->_plugin !== $this->_corePlugin) { |
|
| 111 | Plugin::unload($this->_plugin); |
|
| 112 | } |
|
| 113 | ||
| 114 | Cache::drop('test_cached'); |
|
| 115 | unset($this->_url); |
|
| 116 | } |
|
| 117 | ||
| 118 | /** |
|
| 119 | * Prepare url. |
|
| @@ 102-110 (lines=9) @@ | ||
| 99 | * |
|
| 100 | * @return void |
|
| 101 | */ |
|
| 102 | public function tearDown() |
|
| 103 | { |
|
| 104 | parent::tearDown(); |
|
| 105 | Plugin::unload($this->_corePlugin); |
|
| 106 | if ($this->_plugin !== $this->_corePlugin) { |
|
| 107 | Plugin::unload($this->_plugin); |
|
| 108 | } |
|
| 109 | Cache::drop('test_cached'); |
|
| 110 | } |
|
| 111 | ||
| 112 | /** |
|
| 113 | * Assert check is empty array. |
|