summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/libraries/Form_validation_test.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-05-17 12:46:55 +0200
committerAndrey Andreev <narf@devilix.net>2016-05-17 12:46:55 +0200
commit0fae625de48885b565362fe5d62cd6ce4fd76faa (patch)
tree7e0b69ae16ea795409babcf320ed3b86e61a1e21 /tests/codeigniter/libraries/Form_validation_test.php
parent0a840c6768de97a489062307e72aa16a608d7942 (diff)
Fix #4633
Diffstat (limited to 'tests/codeigniter/libraries/Form_validation_test.php')
-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 3537eb355..d11d616ad 100644
--- a/tests/codeigniter/libraries/Form_validation_test.php
+++ b/tests/codeigniter/libraries/Form_validation_test.php
@@ -55,9 +55,9 @@ class Form_validation_test extends CI_TestCase {
);
$values_base = array('foo' => 'sample');
- $this->assertTrue($this->run_rules($rules, array_merge($values_base, array('bar' => ''))));
$this->assertTrue($this->run_rules($rules, array_merge($values_base, array('bar' => 'sample'))));
+ $this->assertFalse($this->run_rules($rules, array_merge($values_base, array('bar' => ''))));
$this->assertFalse($this->run_rules($rules, array_merge($values_base, array('bar' => 'Sample'))));
$this->assertFalse($this->run_rules($rules, array_merge($values_base, array('bar' => ' sample'))));
}