Revert "Revert "Only need the first few messages for this test""

This reverts commit 3c513e4ad9.
This commit is contained in:
swagg boi 2022-07-26 22:09:36 -04:00
parent 3c513e4ad9
commit 7dc6ceb581

View file

@ -12,10 +12,10 @@ my $t = Test::Mojo->new($script);
$t->ua->max_redirects(0);
# This one is not spam
$t->get_ok('/message/8')->status_is(200)
$t->get_ok('/message/3')->status_is(200)
->text_is(h2 => 'Messages from the World Wide Web');
# This one _is_ spam
$t->get_ok('/message/19')->status_is(200)
$t->get_ok('/message/2')->status_is(200)
->text_is(h2 => 'Messages from the World Wide Web');
# This one is deleted
$t->get_ok('/message/1')->status_is(404)