From 6bd735955d7541217bb34e56a2ade456f21ae35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Lorenzo=20Rodri=CC=81guez?= Date: Tue, 21 Dec 2010 22:15:21 -0430 Subject: [PATCH] Fixing CacheHelper test --- lib/Cake/tests/test_app/views/posts/test_nocache_tags.ctp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Cake/tests/test_app/views/posts/test_nocache_tags.ctp b/lib/Cake/tests/test_app/views/posts/test_nocache_tags.ctp index b3ee6f828..4946f1bc8 100644 --- a/lib/Cake/tests/test_app/views/posts/test_nocache_tags.ctp +++ b/lib/Cake/tests/test_app/views/posts/test_nocache_tags.ctp @@ -79,8 +79,7 @@ if (!empty($filePresent)): if (!class_exists('ConnectionManager')) { require LIBS . 'model' . DS . 'connection_manager.php'; } - $db = ConnectionManager::getInstance(); - $connected = $db->getDataSource('default'); + $connected = ConnectionManager::getDataSource('default'); ?>