Page MenuHomeDevCentral

D2083.id5247.diff
No OneTemporary

D2083.id5247.diff

diff --git a/ZedTest.php b/ZedTest.php
new file mode 100644
--- /dev/null
+++ b/ZedTest.php
@@ -0,0 +1,22 @@
+<?php
+
+require_once 'traits/assertHttp.php';
+
+class ZedTest extends PHPUnit\Framework\TestCase {
+ use assertHttp;
+
+ public function testAlive () {
+ $url = 'https://hypership.space/';
+ $this->assertHttpResponseCode(200, $url);
+ }
+
+ public function testContentRootIsForbidden () {
+ $url = 'https://hypership.space/content/';
+ $this->assertHttpResponseCode(403, $url);
+ }
+
+ public function testContent () {
+ $url = 'https://hypership.space/content/scenes/B00002.png';
+ $this->assertHttpResponseCode(200, $url);
+ }
+}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 10:27 (20 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259714
Default Alt Text
D2083.id5247.diff (708 B)

Event Timeline