Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Propaganistas committed Dec 22, 2023
1 parent 7497c3e commit 88449d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand All @@ -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());
}
Expand All @@ -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());
}
Expand Down

0 comments on commit 88449d1

Please sign in to comment.