Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove test that is no longer needed for validation.

  • Loading branch information...
commit 7979ee5fa0aa5760aad6443d3a6a9529a2169408 1 parent 83cef3e
@markstory markstory authored
Showing with 0 additions and 19 deletions.
  1. +0 −19 lib/Cake/Test/Case/Model/ModelValidationTest.php
View
19 lib/Cake/Test/Case/Model/ModelValidationTest.php
@@ -714,25 +714,6 @@ public function testMissingValidationErrorTriggering() {
}
/**
- * Test that missing validation methods does not trigger errors in production mode.
- *
- * @return void
- */
- public function testMissingValidationErrorNoTriggering() {
- Configure::write('debug', 0);
- $TestModel = new ValidationTest1();
- $TestModel->create(array('title' => 'foo'));
- $TestModel->validate = array(
- 'title' => array(
- 'rule' => array('thisOneBringsThePain'),
- 'required' => true
- )
- );
- $TestModel->invalidFields(array('fieldList' => array('title')));
- $this->assertEquals(array(), $TestModel->validationErrors);
- }
-
-/**
* Test placeholder replacement when validation message is an array
*
* @return void
Please sign in to comment.
Something went wrong with that request. Please try again.