File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -50,4 +50,20 @@ public function testUpHosts()
50
50
$ this ->assertNull ($ err );
51
51
$ this ->assertEquals ('https://up-z1.qbox.me ' , $ upHosts [0 ]);
52
52
}
53
+
54
+ public function testIoHosts ()
55
+ {
56
+
57
+ $ ioHost = $ this ->zone ->getIoHost ($ this ->ak , $ this ->bucketName );
58
+ $ this ->assertEquals ('http://iovip.qbox.me ' , $ ioHost );
59
+
60
+ $ ioHost = $ this ->zone ->getIoHost ($ this ->ak , $ this ->bucketNameBC );
61
+ $ this ->assertEquals ('http://iovip-z1.qbox.me ' , $ ioHost );
62
+
63
+ $ ioHost = $ this ->zoneHttps ->getIoHost ($ this ->ak , $ this ->bucketName );
64
+ $ this ->assertEquals ('https://iovip.qbox.me ' , $ ioHost );
65
+
66
+ $ ioHost = $ this ->zoneHttps ->getIoHost ($ this ->ak , $ this ->bucketNameBC );
67
+ $ this ->assertEquals ('https://iovip-z1.qbox.me ' , $ ioHost );
68
+ }
53
69
}
You can’t perform that action at this time.
0 commit comments