@@ -8,8 +8,8 @@ class FopTest extends \PHPUnit_Framework_TestCase
88{
99 public function testExifPub ()
1010 {
11- $ fop = new Operation ('testres.qiniudn .com ' );
12- list ($ exif , $ error ) = $ fop ->execute ('gogopher .jpg ' , 'exif ' );
11+ $ fop = new Operation ('7xkv1q.com1.z0.glb.clouddn .com ' );
12+ list ($ exif , $ error ) = $ fop ->execute ('grape .jpg ' , 'exif ' );
1313 $ this ->assertNull ($ error );
1414 $ this ->assertNotNull ($ exif );
1515 }
@@ -26,12 +26,12 @@ public function testExifPrivate()
2626 public function testbuildUrl ()
2727 {
2828 $ fops = 'imageView2/2/h/200 ' ;
29- $ fop = new Operation ('testres.qiniudn .com ' );
30- $ url = $ fop ->buildUrl ('gogopher .jpg ' , $ fops );
31- $ this ->assertEquals ($ url , 'http://testres.qiniudn. com/gogopher .jpg?imageView2/2/h/200 ' );
29+ $ fop = new Operation ('7xkv1q.com1.z0.glb.clouddn .com ' );
30+ $ url = $ fop ->buildUrl ('grape .jpg ' , $ fops );
31+ $ this ->assertEquals ($ url , 'http://7xkv1q.com1.z0.glb.clouddn. com/grape .jpg?imageView2/2/h/200 ' );
3232
3333 $ fops = array ('imageView2/2/h/200 ' , 'imageInfo ' );
34- $ url = $ fop ->buildUrl ('gogopher .jpg ' , $ fops );
35- $ this ->assertEquals ($ url , 'http://testres.qiniudn. com/gogopher .jpg?imageView2/2/h/200|imageInfo ' );
34+ $ url = $ fop ->buildUrl ('grape .jpg ' , $ fops );
35+ $ this ->assertEquals ($ url , 'http://7xkv1q.com1.z0.glb.clouddn. com/grape .jpg?imageView2/2/h/200|imageInfo ' );
3636 }
3737}
0 commit comments