We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab6173 commit 69abc78Copy full SHA for 69abc78
tests/MY_Model_test.php
@@ -540,7 +540,7 @@ public function test_skip_validation()
540
protected function _validatable_model($validate_pass_or_fail = TRUE)
541
{
542
$model = new Validated_model();
543
- $model->form_validation = m::mock('form validation class');
+ $model->form_validation = m::mock('form_validation_class');
544
$model->form_validation->shouldIgnoreMissing();
545
$model->form_validation->shouldReceive('run')
546
->andReturn($validate_pass_or_fail);
0 commit comments