Restore legacy tests

This commit is contained in:
Saggre 2022-02-01 15:46:01 +02:00 committed by vedanshujain
parent 3081fa593f
commit ec82f8865c
1 changed files with 0 additions and 6 deletions

View File

@ -795,12 +795,6 @@ class WC_Tests_Formatting_Functions extends WC_Unit_Test_Case {
// UK postcode. // UK postcode.
$this->assertEquals( 'PCRN 1ZZ', wc_format_postcode( 'pcrn1zz', 'GB' ) ); $this->assertEquals( 'PCRN 1ZZ', wc_format_postcode( 'pcrn1zz', 'GB' ) );
// IE postcode.
$this->assertEquals( 'D02 AF30', wc_format_postcode( 'D02AF30', 'IE' ) );
// PT postcode.
$this->assertEquals( '1000-205', wc_format_postcode( '1000205', 'PT' ) );
// BR/PL postcode. // BR/PL postcode.
$this->assertEquals( '99999-999', wc_format_postcode( '99999999', 'BR' ) ); $this->assertEquals( '99999-999', wc_format_postcode( '99999999', 'BR' ) );