Revert "Revert "Only need the first few messages for this test""
This reverts commit 3c513e4ad9
.
This commit is contained in:
parent
3c513e4ad9
commit
7dc6ceb581
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue