Only need the first few messages for this test

This commit is contained in:
swagg boi 2022-07-26 21:44:12 -04:00
parent 8c78834b61
commit f475ec85ca

View file

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