Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ClassRegistry::getDataSource doesn't exist

  • Loading branch information...
commit ef9c5bc004c8575500de088b949a452b669a5591 1 parent 7b5e45b
@AD7six AD7six authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/TestSuite/Fixture/CakeFixtureManager.php
View
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.