Skip to content
Permalink
Browse files

ClassRegistry::getDataSource doesn't exist

  • Loading branch information...
AD7six committed May 4, 2012
1 parent 7b5e45b commit ef9c5bc004c8575500de088b949a452b669a5591
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/TestSuite/Fixture/CakeFixtureManager.php
@@ -158,7 +158,7 @@ protected function _loadFixtures($fixtures) {
protected function _setupTable($fixture, $db = null, $drop = true) {
if (!$db) {
if (!empty($fixture->useDbConfig)) {
$db = ClassRegistry::getDataSource($fixture->useDbConfig);
$db = ConnectionManager::getDataSource($fixture->useDbConfig);
} else {
$db = $this->_db;
}

0 comments on commit ef9c5bc

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