Page MenuHomeDevCentral

D2083.id5246.diff
No OneTemporary

D2083.id5246.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, 14:46 (3 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260420
Default Alt Text
D2083.id5246.diff (730 B)

Event Timeline