From 63c288cdd7dd66c653da1092ac07a035b01ef560 Mon Sep 17 00:00:00 2001 From: David Woods Date: Wed, 18 Mar 2015 10:13:34 -0700 Subject: Corrected incorrect assertion in test_rule_valid_base64 Signed-off-by: David Woods --- tests/codeigniter/libraries/Form_validation_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/codeigniter') diff --git a/tests/codeigniter/libraries/Form_validation_test.php b/tests/codeigniter/libraries/Form_validation_test.php index 571e2cfce..9c21b9cfb 100644 --- a/tests/codeigniter/libraries/Form_validation_test.php +++ b/tests/codeigniter/libraries/Form_validation_test.php @@ -299,7 +299,7 @@ class Form_validation_test extends CI_TestCase { $this->assertTrue($this->run_rule('valid_base64', '')); $this->assertTrue($this->run_rule('valid_base64', base64_encode('string'))); - $this->assertTrue($this->run_rule('valid_base64', "FA08GG")); + $this->assertFalse($this->run_rule('valid_base64', "FA08GG")); } public function run_rule($rule, $test_value) -- cgit v1.2.3-24-g4f1b