Page MenuHomeDevCentral

No OneTemporary

diff --git a/Makefile b/Makefile
index 07d16cb..0b93a34 100644
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,21 @@
###
### Nasqueron ops tests
### We use PHPUnit to test several parts of our infrastructure.
###
PHPUNIT=vendor/bin/phpunit
ENV_FOR_TEST_FULL= \
DOCKER_ACCESS=1 \
- DOCKER_HOST=equatower.nasqueron.org \
+ DOCKER_HOST=docker-002.nasqueron.org \
all: test
vendor:
composer install
test: vendor
${PHPUNIT} --log-junit build/phpunit.xml -v
test-full: vendor
sh -c "${ENV_FOR_TEST_FULL} ${PHPUNIT} --log-junit build/phpunit.xml -v"
diff --git a/tests/DevCentralTest.php b/tests/DevCentralTest.php
index de26e21..48ada6e 100644
--- a/tests/DevCentralTest.php
+++ b/tests/DevCentralTest.php
@@ -1,22 +1,22 @@
<?php
namespace Nasqueron\Infrastructure\ProductionTests;
use PHPUnit\Framework\TestCase;
class DevCentralTest extends TestCase {
use WithAssertHttp;
public function testWebsiteIsUp () {
$this->assertHttpResponseCode(200, 'https://devcentral.nasqueron.org', "DevCentral HTTPS issue.");
$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', 'Nginx should redirect http to https with a 301 code.');
}
public function testAphlictIsUp () {
- $this->assertHttpResponseCode(405, 'http://equatower.nasqueron.org:22281/', 'Aphlict server seems down. Check if the aphlict container is launched on the Docker engine.');
+ $this->assertHttpResponseCode(405, 'http://docker-002.nasqueron.org:22281/', 'Aphlict server seems down. Check if the aphlict container is launched on the Docker engine.');
}
}

File Metadata

Mime Type
text/x-diff
Expires
Sun, Nov 24, 18:24 (1 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258650
Default Alt Text
(1 KB)

Event Timeline