Skip to content

Commit

Permalink
Update Tests - remove exceptionmessage
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasnorre committed Sep 16, 2024
1 parent 0dc8127 commit 3c4ba1c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion exercises/practice/phone-number/PhoneNumberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public function testValidWhen11DigitsAndStartingWith1EvenWithPunctuation(): void
public function testInvalidWhenMoreThan11Digits(): void
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessageMatches('.* than 11 digits');

new PhoneNumber('321234567890');
}
Expand Down

0 comments on commit 3c4ba1c

Please sign in to comment.