Skip to content
Permalink
Browse files

Fixing file_get_contents() call on the last commit.

  • Loading branch information...
renan committed Oct 15, 2011
1 parent 704a9f4 commit d9815dbd6548d097afab4ba14c726a9bb3b1ebf8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
@@ -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'));

0 comments on commit d9815db

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