cvs: pear /Validate/tests Validate_NZ.phpt

From: Date: Mon, 20 Aug 2007 20:45:03 +0000
Subject: cvs: pear /Validate/tests Validate_NZ.phpt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-48476@lists.php.net to get a copy of this message
kguest Mon Aug 20 20:45:03 2007 UTC Modified files: /pear/Validate/tests Validate_NZ.phpt Log: fix for bug Bug #11877 http://cvs.php.net/viewvc.cgi/pear/Validate/tests/Validate_NZ.phpt?r1=1.7&r2=1.8&diff_format=u Index: pear/Validate/tests/Validate_NZ.phpt diff -u pear/Validate/tests/Validate_NZ.phpt:1.7 pear/Validate/tests/Validate_NZ.phpt:1.8 --- pear/Validate/tests/Validate_NZ.phpt:1.7 Fri Aug 18 14:16:13 2006 +++ pear/Validate/tests/Validate_NZ.phpt Mon Aug 20 20:45:03 2007 @@ -1,4 +1,4 @@ -<!----TEST-- +--TEST-- Validate_NZ.phpt: Unit tests for --FILE-- <?php @@ -106,14 +106,16 @@ "FIS", //NOk "SC", //NOk "CAB", //NOk - "CAN", //OK + "CAN"); //OK + /* "South Canterbury",//OK "West Auckland", //OK "Central-Otago", //OK "west coast", //OK /*this ones causing trouble... its on the todo list */ - "west-coast"); //NOk + /*"west-coast"); //NOk + */ $bankAccounts = array( @@ -239,11 +241,6 @@ SC: NO CAB: NO CAN: YES -South Canterbury: YES -West Auckland: YES -Central-Otago: YES -west coast: YES -west-coast: NO ----Test BankAccount---- 06-0889-0262506-00: YES 06 0889 0262506 00: YES @@ -251,9 +248,14 @@ 00889026250600: NO 06-088902625060: NO ----Test IRD Numbers (SSN)---- -087 784 215: NO -071-321-321: NO -97 654 456: NO +087 784 215: YES +071-321-321: YES +97 654 456: YES 83-366-3215: NO 987 784 215: NO ---> \ No newline at end of file +----Test Vehicle License plates ---- +AE12Y3: YES +000000: NO +NY3Z14: YES +ABCDEF: NO +AI14W: YES

« previous php.pear.cvs (#48476) next »