Skip to content

Commit

Permalink
Fixing file_get_contents() call on the last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
renan committed Oct 15, 2011
1 parent 704a9f4 commit d9815db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
Expand Up @@ -586,7 +586,7 @@ public function testAlterSchemaIndexes() {
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'));
Expand Down

0 comments on commit d9815db

Please sign in to comment.