diff --git a/tests/unit/framework/validators/FakedValidationModel.php b/tests/unit/data/validators/models/FakedValidationModel.php similarity index 59% rename from tests/unit/framework/validators/FakedValidationModel.php rename to tests/unit/data/validators/models/FakedValidationModel.php index f30735e..1e3366c 100644 --- a/tests/unit/framework/validators/FakedValidationModel.php +++ b/tests/unit/data/validators/models/FakedValidationModel.php @@ -1,6 +1,6 @@ 'reqTest'), + array('val_attr_c', 'integer'), + ); + } + + public function inlineVal($attribute, $params = array()) + { + return true; + } + public function __get($name) { if (stripos($name, 'attr') === 0) { diff --git a/tests/unit/framework/validators/BooleanValidatorTest.php b/tests/unit/framework/validators/BooleanValidatorTest.php index e3fa3e5..f37b39a 100644 --- a/tests/unit/framework/validators/BooleanValidatorTest.php +++ b/tests/unit/framework/validators/BooleanValidatorTest.php @@ -1,11 +1,10 @@