Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3777805
D1823.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.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
Tue, Nov 26, 02:37 (21 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2262435
Default Alt Text
D1823.diff (1 KB)
Attached To
Mode
D1823: Update protocol to https for DevCentral tests
Attached
Detach File
Event Timeline
Log In to Comment