diff options
author | Eric Wong <e@80x24.org> | 2016-07-07 01:39:37 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-07 01:44:10 +0000 |
commit | a380c9b55b39a4db6a21131332a2a5629428dded (patch) | |
tree | 9a279e2b0809cda1ff978a3f584c5da7b4ac8608 /t/plack.t | |
parent | 8e85257577ee4d7d49e59f048852d9d4ac6f8172 (diff) | |
download | public-inbox-a380c9b55b39a4db6a21131332a2a5629428dded.tar.gz |
We now generate all of our HTML using WwwStream which forces us to have consistent headers and footers in the HTML itself. This also makes the search-capable vs search-less installs go to the new.html endpoint to maintain consistency (in case an admin decides to enable Xapian).
Diffstat (limited to 't/plack.t')
-rw-r--r-- | t/plack.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -120,9 +120,9 @@ EOF test_psgi($app, sub { my ($cb) = @_; my $atomurl = 'http://example.com/test/new.atom'; - my $res = $cb->(GET('http://example.com/test/')); + my $res = $cb->(GET('http://example.com/test/new.html')); is(200, $res->code, 'success response received'); - like($res->content, qr!href="\Q$atomurl\E"!, + like($res->content, qr!href="new\.atom"!, 'atom URL generated'); like($res->content, qr!href="blah%40example\.com/"!, 'index generated'); |