|
|
@@ -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'));
|