diff --git a/server/tests/ApiCustomerControllerContractsTest.php b/server/tests/ApiCustomerControllerContractsTest.php index 81edbd4f6..00dffea9c 100644 --- a/server/tests/ApiCustomerControllerContractsTest.php +++ b/server/tests/ApiCustomerControllerContractsTest.php @@ -996,6 +996,7 @@ function fleetopsApiCustomerJson($response): array // Over budget with no email on file: the 429 and its Retry-After reach the app. $limited = fleetopsApiCustomerController(); + $limited->activeUser->email = null; $limited->smsVerificationThrows = SmsBlockedException::limited('company_per_hour', 45); $login = $limited->loginWithPhone(Request::create('/v1/customers/login/phone', 'POST', [ 'phone' => '15551234567',