Page MenuHomeDevCentral

D491.id1191.diff
No OneTemporary

D491.id1191.diff

diff --git a/tests/prod-environment-behaves-correctly/DevCentralTest.php b/tests/prod-environment-behaves-correctly/DevCentralTest.php
--- a/tests/prod-environment-behaves-correctly/DevCentralTest.php
+++ b/tests/prod-environment-behaves-correctly/DevCentralTest.php
@@ -6,11 +6,14 @@
use assertHttp;
public function testWebsiteIsUp () {
- $this->assertHttpResponseCode(200, 'http://devcentral.nasqueron.org', 'DevCentral looks down.');
$this->assertHttpResponseCode(200, 'https://devcentral.nasqueron.org', "DevCentral HTTPS issue.");
- $this->assertHttpResponseCode(500, 'http://phabricator-files-for-devcentral-nasqueron.spacetechnology.net', "DevCentral alternative domain should return a 500 error code for homepage. Check phabricator.base-uri isn't empty.");
+ $this->assertHttpResponseCode(500, 'https://phabricator-files-for-devcentral-nasqueron.spacetechnology.net', "DevCentral alternative domain should return a 500 error code for homepage. Check phabricator.base-uri isn't empty.");
}
+ public function testNginxRedirectsHttpToHttps () {
+ $this->assertHttpResponseCode(301, 'http://devcentral.nasqueron.org', 'DevCentral looks down.');
+ }
+
public function testAphlictIsUp () {
$this->assertHttpResponseCode(405, 'http://dwellers.nasqueron.org:22281/', 'Aphlict server seems down, does aphlict container is launched in Docker engine?');
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 13:41 (20 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2247606
Default Alt Text
D491.id1191.diff (1 KB)

Event Timeline