inoas 7 years ago
parent
commit
880e505055
1 changed files with 2 additions and 3 deletions
  1. 2 3
      tests/TestCase/Form/FormTest.php

+ 2 - 3
tests/TestCase/Form/FormTest.php

@@ -148,12 +148,11 @@ class FormTest extends TestCase
      * Test the errors methods.
      *
      * @return void
+     * @deprecated 3.7.0 Use Form::testGetErrors() instead.
      */
     public function testErrors()
     {
-        $this->deprecated(function () {
-            $this->testGetErrors();
-        });
+        $this->testGetErrors();
     }
 
     /**