Page MenuHomeDevCentral

No OneTemporary

diff --git a/TommyTest.php b/TommyTest.php
index df69b13..7d6f0fc 100644
--- a/TommyTest.php
+++ b/TommyTest.php
@@ -1,27 +1,23 @@
<?php
require_once 'traits/assertHttp.php';
class TommyTest extends PHPUnit\Framework\TestCase {
use assertHttp;
public function testIsLive () {
- $this->assertHttpResponseCode(200, 'http://builds.nasqueron.org', 'Tommy looks down.');
- $this->assertHttpResponseCode(404, 'http://builds.nasqueron.org/notexisting', 'A 404 code were expected for a not existing page.');
- }
-
- public function testSSL () {
- $this->assertHttpResponseCode(200, 'https://builds.nasqueron.org/', "Tommy HTTPS issue.");
+ $this->assertHttpResponseCode(200, 'https://builds.nasqueron.org', 'Tommy looks down.');
+ $this->assertHttpResponseCode(404, 'https://builds.nasqueron.org/notexisting', 'A 404 code were expected for a not existing page.');
}
public function testAlive () {
$url = 'https://builds.nasqueron.org/status';
$this->assertHttpResponseCode(200, $url);
$this->assertSame('ALIVE', file_get_contents($url));
}
public function testDashboard () {
$content = file_get_contents('https://builds.nasqueron.org');
$this->assertContains('ci.nasqueron.org/job/', $content);
}
}

File Metadata

Mime Type
text/x-diff
Expires
Sun, Jul 27, 20:35 (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2847586
Default Alt Text
(1 KB)

Event Timeline