Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnabil230 committed Jan 21, 2025
1 parent 6866807 commit 545ee4b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/Support/SupportPhoneTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ public function test_invalid_country_returns_null()
$this->assertNull($phoneNumber->getCountry());
}

// public function test_can_format_number()
// {
// $phoneNumber = PhoneNumber::of('+201200954866');
// $this->assertEquals('+20 120 095 4866', $phoneNumber->formatInternational());
// $this->assertEquals('012 00954866', $phoneNumber->formatNational());
// $this->assertEquals('+201200954866', $phoneNumber->formatE164());
// }
public function test_can_format_number()
{
$phoneNumber = PhoneNumber::of('+201200954866');
$this->assertEquals('+20 12 00954866', $phoneNumber->formatInternational());
$this->assertEquals('012 00954866', $phoneNumber->formatNational());
$this->assertEquals('+201200954866', $phoneNumber->formatE164());
}

public function test_can_check_type()
{
Expand Down

0 comments on commit 545ee4b

Please sign in to comment.