diff --git a/tests/Integ/BatchingContext.php b/tests/Integ/BatchingContext.php index 880999b9ca..afcc2cd43e 100644 --- a/tests/Integ/BatchingContext.php +++ b/tests/Integ/BatchingContext.php @@ -200,7 +200,7 @@ public function iDeleteABatchOfMessages($messageCount) while (count($messages) < $messageCount) { $result = $this->client->receiveMessage([ 'QueueUrl' => $queueUrl, - 'MaxNumberOfMessages' => $messageCount, + 'MaxNumberOfMessages' => (int) $messageCount, ]); foreach ($result['Messages'] as $message) {