Browse Source

Merge branch '2.0' of github.com:cakephp/cakephp into 2.0

Jose Lorenzo Rodriguez 14 years ago
parent
commit
f9f0eedca1

+ 1 - 4
lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php

@@ -586,10 +586,7 @@ class MysqlTest extends CakeTestCase {
 	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 . 'webroot' . DS . 'img' . DS . 'cake.power.gif');
 
 		$model = new CakeTestModel(array('name' => 'BinaryTest', 'ds' => 'test'));
 		$model->save(compact('data'));

BIN
lib/Cake/Test/test_app/webroot/img/cake.power.gif