File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1717 */
1818class IdVNTest extends TestCase
1919{
20- public function testValidId ()
20+ public function testValid ()
2121 {
2222 $ rule = new IdVN ();
2323 $ id = '025479661 ' ;
@@ -32,7 +32,7 @@ public function testValidId()
3232 $ this ->assertEquals ($ id , array_shift ($ validId ));
3333 }
3434
35- public function testInvalidIp ()
35+ public function testInvalid ()
3636 {
3737 $ rule = new IdVN ();
3838 $ id = '025479661123123123123 ' ;
Original file line number Diff line number Diff line change 1717 */
1818class IpVNTest extends TestCase
1919{
20- public function testValidCases ()
20+ public function testValid ()
2121 {
2222 $ rule = new IpVN ();
2323 $ ruleV4 = new IpVN (IpVN::IPV4 );
@@ -45,7 +45,7 @@ public function testValidCases()
4545 $ this ->assertEquals ($ ipv6 , $ validIps ['ipv6 ' ]);
4646 }
4747
48- public function testInvalidCases ()
48+ public function testInvalid ()
4949 {
5050 $ rule = new IpVN ();
5151 $ ip = '113.173.134.203@ ' ;
Original file line number Diff line number Diff line change 1717 */
1818class LandLineVNTest extends TestCase
1919{
20- public function testValidId ()
20+ public function testValid ()
2121 {
2222 $ rule = new LandLineVN ();
2323 $ landLine = '02838574955 ' ;
@@ -32,7 +32,7 @@ public function testValidId()
3232 $ this ->assertEquals ($ landLine , array_shift ($ validLandLine ));
3333 }
3434
35- public function testInvalidIp ()
35+ public function testInvalid ()
3636 {
3737 $ rule = new LandLineVN ();
3838 $ landLine = '02838574955!@# ' ;
Original file line number Diff line number Diff line change 1717 */
1818class MobileVNTest extends TestCase
1919{
20- public function testValidId ()
20+ public function testValid ()
2121 {
2222 $ rule = new MobileVN ();
2323 $ mobile = '0909113911 ' ;
@@ -32,7 +32,7 @@ public function testValidId()
3232 $ this ->assertEquals ($ mobile , array_shift ($ validMobile ));
3333 }
3434
35- public function testInvalidIp ()
35+ public function testInvalid ()
3636 {
3737 $ rule = new MobileVN ();
3838 $ mobile = '0909113911!@# ' ;
You can’t perform that action at this time.
0 commit comments