diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/it_url.testserver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/it_url.testserver.php b/test/it_url.testserver.php index 242ccf6..978e4af 100644 --- a/test/it_url.testserver.php +++ b/test/it_url.testserver.php @@ -75,7 +75,7 @@ switch ($_SERVER['PHP_SELF']) break; case "/maybe_error": - $iserror = rand(0, 99) <= $_REQUEST['chance']; + $iserror = rand(0, 99) < $_REQUEST['chance']; http_response_code($iserror ? 500 : 200); echo $iserror ? "failure" : "success"; break; |