Skip to content

Commit

Permalink
Update App::objects() cache after App::build().
Browse files Browse the repository at this point in the history
Prevents console from crashing because it would try to load test plugins
(from object cache) that it didn't know how to find.
  • Loading branch information
sitedyno committed May 19, 2011
1 parent 4ccf5c0 commit f9b02dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Test/Case/Core/CakePluginTest.php
Expand Up @@ -28,6 +28,7 @@ public function setUp() {
*/
public function tearDown() {
App::build();
App::objects('plugins', null, false);
CakePlugin::unload();
Configure::delete('CakePluginTest');
}
Expand Down

0 comments on commit f9b02dd

Please sign in to comment.