From 991f0bd895c887b22d9ba7dbf111e20874851676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Grundk=C3=B6tter?= Date: Fri, 16 Sep 2022 18:39:54 +0200 Subject: [PATCH] added German mobile number to tests Formatting this mobile number will fail right now as the leading zero is missing in the national format. --- tests/PhoneNumberTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/PhoneNumberTest.php b/tests/PhoneNumberTest.php index ff84259..f4d134f 100644 --- a/tests/PhoneNumberTest.php +++ b/tests/PhoneNumberTest.php @@ -460,6 +460,9 @@ public function providerFormatNumber() : array ['030 123456', self::DE_NUMBER, PhoneNumberFormat::NATIONAL], ['04134 1234', '+4941341234', PhoneNumberFormat::NATIONAL], + + // DE mobile + ['01520 123123', '+491520123123', PhoneNumberFormat::NATIONAL], // IT ['02 3661 8300', self::IT_NUMBER, PhoneNumberFormat::NATIONAL],