mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing file_get_contents() call on the last commit.
This commit is contained in:
parent
704a9f454d
commit
d9815dbd65
1 changed files with 1 additions and 1 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue