Skip to content

Commit

Permalink
Fixing some broken model tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 22, 2010
1 parent f3e2c08 commit 57929c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/tests/cases/libs/model/model_integration.test.php
Expand Up @@ -21,7 +21,7 @@
*/

require_once dirname(__FILE__) . DS . 'model.test.php';
App::uses('DboSource', 'Model/Datasource/Database');
App::uses('DboSource', 'Model/Datasource');

/**
* DboMock class
Expand Down Expand Up @@ -2003,7 +2003,7 @@ function testEscapeField() {
$expected = $db->name('Domain.DomainHandle');
$this->assertEqual($result, $expected);

ConnectionManager::create('mock', array('driver' => 'mock'));
ConnectionManager::create('mock', array('datasource' => 'DboMock'));
$TestModel->setDataSource('mock');
$db = $TestModel->getDataSource();

Expand Down

0 comments on commit 57929c2

Please sign in to comment.