Skip to content
Permalink
Browse files

remove redundant code

`Plugin::getCollection()->clear();` is equals to `$this->clearPlugins();`
  • Loading branch information...
saeideng committed Nov 5, 2018
1 parent d66e3d1 commit d45c5bc6cfaea63fc6a470119027cf1711dd7a93
Showing with 0 additions and 2 deletions.
  1. +0 −2 tests/TestCase/Datasource/ConnectionManagerTest.php
@@ -11,7 +11,6 @@
*/
namespace Cake\Test\TestCase\Datasource;
use Cake\Core\Plugin;
use Cake\Datasource\ConnectionManager;
use Cake\TestSuite\TestCase;
@@ -69,7 +68,6 @@ public function tearDown()
{
parent::tearDown();
$this->clearPlugins();
Plugin::getCollection()->clear();
ConnectionManager::drop('test_variant');
ConnectionManager::dropAlias('other_name');
}

0 comments on commit d45c5bc

Please sign in to comment.
You can’t perform that action at this time.