Skip to content
Permalink
Browse files

Moving binary data to external file, it was causing failures on other…

… tests.
  • Loading branch information...
renan committed Oct 15, 2011
1 parent d406889 commit 704a9f454d792280e54454d182658417cf6b60ca
@@ -586,10 +586,7 @@ public function testAlterSchemaIndexes() {
public function testBlobSaving() {
$this->loadFixtures('BinaryTest');
$this->Dbo->cacheSources = false;
$data = "GIF87ab
Ò4A¿¿¿ˇˇˇ,b
¢îè©ÀÌ#¥⁄ã≥fi:¯Ü‚Héá¶jV∂ÓúÎL≥çÀóËıÎ…>ï≈ vFE%ÒâLFI<†µw˝±≈£7˘ç^H“≤« >Éâ*∑ÇnÖA•Ù|flêèj£:=ÿ6óUàµ5'∂®àA¬ñ∆ˆGE(gt’≈àÚyÁó«7 ‚VìöÇ√˙Ç™
k”:;kÀAõ{*¡€Î˚˚[;;";
$data = file_get_contents(CAKE . 'Test' . DS . 'test_app' . DS);
$model = new CakeTestModel(array('name' => 'BinaryTest', 'ds' => 'test'));
$model->save(compact('data'));
Binary file not shown.

0 comments on commit 704a9f4

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