Browse Source

Fixing file_get_contents() call on the last commit.

Renan Gonçalves 14 years ago
parent
commit
d9815dbd65
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php

+ 1 - 1
lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php

@@ -586,7 +586,7 @@ class MysqlTest extends CakeTestCase {
 	public function testBlobSaving() {
 		$this->loadFixtures('BinaryTest');
 		$this->Dbo->cacheSources = false;
-		$data = file_get_contents(CAKE . 'Test' . DS . 'test_app' . DS);
+		$data = file_get_contents(CAKE . 'Test' . DS . 'test_app' . DS . 'webroot' . DS . 'img' . DS . 'cake.power.gif');
 
 		$model = new CakeTestModel(array('name' => 'BinaryTest', 'ds' => 'test'));
 		$model->save(compact('data'));