Skip to content

Commit

Permalink
docs: small consistency fix in Test.pm (#8116)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel committed Feb 17, 2023
1 parent d793d02 commit db6077e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ProductOpener/Test.pm
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ TXT

=head2 check_not_production ()
Fail unless we have less than 1000 products in database.
Fail unless we have less than 10000 products in database.
This is a simple heuristic to ensure we are not in a production database
Expand All @@ -141,7 +141,7 @@ sub check_not_production() {
}
);
unless ((0 <= $products_count) && ($products_count < 10000)) {
confess("Refusing to run destructive test on a DB of more than 1000 items\n");
confess("Refusing to run destructive test on a DB of more than 10,000 items\n");
}
}

Expand Down

0 comments on commit db6077e

Please sign in to comment.