@@ -8,8 +8,8 @@ class FopTest extends \PHPUnit_Framework_TestCase
8
8
{
9
9
public function testExifPub ()
10
10
{
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 ' );
13
13
$ this ->assertNull ($ error );
14
14
$ this ->assertNotNull ($ exif );
15
15
}
@@ -26,12 +26,12 @@ public function testExifPrivate()
26
26
public function testbuildUrl ()
27
27
{
28
28
$ 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 ' );
32
32
33
33
$ 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 ' );
36
36
}
37
37
}
0 commit comments