summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Woods <d.woods92@gmail.com>2015-03-18 18:13:34 +0100
committerDavid Woods <d.woods92@gmail.com>2015-03-18 18:13:34 +0100
commit63c288cdd7dd66c653da1092ac07a035b01ef560 (patch)
tree5ab0e8d42ab41f0f871a9649b6b28e4f19d572f7 /tests
parent64af3bb57e3d84ec9dd79b8e7f82eba57c46c296 (diff)
Corrected incorrect assertion in test_rule_valid_base64
Signed-off-by: David Woods <d.woods92@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/libraries/Form_validation_test.php2
1 files changed, 1 insertions, 1 deletions
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)