Use App::RESET instead of true with App::build()

This commit is contained in:
Kyle Robinson Young 2012-02-18 04:04:54 -08:00
parent 6684b775cd
commit c4829dc3b8
26 changed files with 42 additions and 40 deletions

View file

@ -336,7 +336,7 @@ class SchemaShellTest extends CakeTestCase {
public function testGenerateWithPlugins() {
App::build(array(
'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
), true);
), App::RESET);
CakePlugin::load('TestPlugin');
$this->db->cacheSources = false;