Skip to content

Commit

Permalink
[Kingston] Fix flaky test.
Browse files Browse the repository at this point in the history
Occasionally the last report could be the box collection.
  • Loading branch information
dracos committed Feb 3, 2025
1 parent 3366746 commit 21edb19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/app/controller/waste_kingston_r.t
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ FixMyStreet::override_config {
my $req = Open311->test_req_used;
my $cgi = CGI::Simple->new($req->content);
# Not sure which one will have been sent last
like $cgi->param('attribute[Action]'), qr/^[13]$/;
like $cgi->param('attribute[Reason]'), qr/^[12]$/;
like $cgi->param('attribute[Action]'), qr/^[1-3]$/;
like $cgi->param('attribute[Reason]'), qr/^[1-3]$/;
};

subtest 'Request refuse exchange' => sub {
Expand Down

0 comments on commit 21edb19

Please sign in to comment.