Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3775077
D1823.id4613.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1823.id4613.diff
View Options
diff --git a/EtherpadTest.php b/EtherpadTest.php
--- a/EtherpadTest.php
+++ b/EtherpadTest.php
@@ -6,11 +6,11 @@
use assertHttp;
public function testEtherpadIsLive () {
- $this->assertHttpResponseCode(200, 'http://pad.nasqueron.org', 'Etherpad looks down.');
- $this->assertHttpResponseCode(200, 'https://pad.nasqueron.org/', "Etherpad HTTPS issue.");
- $this->assertHttpResponseCode(200, 'http://pad.wolfplex.be', "Etherpad doesn't reply to pad.wolfplex.be vhost.");
- $this->assertHttpResponseCode(404, 'http://pad.nasqueron.org/notexisting', 'A 404 code were expected for a not existing Etherpad page.');
- $this->assertHttpResponseCode(200, 'http://pad.nasqueron.org/metrics', "ep_ether-o-meter plugin doesn't seem installed.");
+ $this->assertHttpResponseCode(301, 'http://pad.nasqueron.org/', "Etherpad isn't redirected on HTTP.");
+ $this->assertHttpResponseCode(200, 'https://pad.nasqueron.org/', "Etherpad looks down.");
+ $this->assertHttpResponseCode(200, 'https://pad.wolfplex.be', "Etherpad doesn't reply to pad.wolfplex.be vhost.");
+ $this->assertHttpResponseCode(404, 'https://pad.nasqueron.org/notexisting', 'A 404 code were expected for a not existing Etherpad page.');
+ $this->assertHttpResponseCode(200, 'https://pad.nasqueron.org/metrics', "ep_ether-o-meter plugin doesn't seem installed.");
}
public function testWolfplexApiWorks () {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 16:35 (13 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2262435
Default Alt Text
D1823.id4613.diff (1 KB)
Attached To
Mode
D1823: Update protocol to https for DevCentral tests
Attached
Detach File
Event Timeline
Log In to Comment