Page MenuHomeDevCentral

D2083.diff
No OneTemporary

D2083.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, 07:24 (19 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259714
Default Alt Text
D2083.diff (708 B)

Event Timeline