From 88449d19985a5409870290f8a588335cd534e0d8 Mon Sep 17 00:00:00 2001 From: Propaganistas Date: Fri, 22 Dec 2023 11:40:25 +0100 Subject: [PATCH] fix tests --- tests/ValidatorTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ValidatorTest.php b/tests/ValidatorTest.php index 85cc163..a971f98 100644 --- a/tests/ValidatorTest.php +++ b/tests/ValidatorTest.php @@ -431,7 +431,7 @@ public function it_validates_blocked_type_and_explicit_country_combined() $this->assertFalse($this->validate( ['field' => '0470123456'], - ['field' => (new Phone)->notType(PhoneNumberType::MOBILE)->country('NL')] + ['field' => (new Phone)->notType(PhoneNumberType::MOBILE)->country('US')] )->passes()); } @@ -449,7 +449,7 @@ public function it_validates_blocked_type_and_implicit_country_field_combined() )->passes()); $this->assertFalse($this->validate( - ['field' => '0470123456', 'field_country' => 'NL'], + ['field' => '0470123456', 'field_country' => 'US'], ['field' => (new Phone)->notType(PhoneNumberType::MOBILE)] )->passes()); } @@ -468,7 +468,7 @@ public function it_validates_blocked_type_and_custom_country_field_combined() )->passes()); $this->assertFalse($this->validate( - ['field' => '0470123456', 'some_country' => 'NL'], + ['field' => '0470123456', 'some_country' => 'US'], ['field' => (new Phone)->notType(PhoneNumberType::MOBILE)->countryField('some_country')] )->passes()); }