Restore legacy tests
This commit is contained in:
parent
3081fa593f
commit
ec82f8865c
|
@ -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' ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue