Browse Source

Removing obsolete tests and adding a todo

Jose Lorenzo Rodriguez 12 years ago
parent
commit
ddcccc8539
2 changed files with 1 additions and 10 deletions
  1. 0 10
      Cake/Test/TestCase/TestSuite/TestCaseTest.php
  2. 1 0
      Cake/TestSuite/TestCase.php

+ 0 - 10
Cake/Test/TestCase/TestSuite/TestCaseTest.php

@@ -412,14 +412,4 @@ class TestCaseTest extends TestCase {
 		$this->assertFalse($Mock->save(array()));
 	}
 
-/**
- * testGetMockForModelDoesNotExist
- *
- * @expectedException Cake\Error\MissingModelException
- * @expectedExceptionMessage Model IDoNotExist could not be found
- * @return void
- */
-	public function testGetMockForModelDoesNotExist() {
-		$this->getMockForModel('IDoNotExist');
-	}
 }

+ 1 - 0
Cake/TestSuite/TestCase.php

@@ -689,6 +689,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase {
  * @param mixed $methods
  * @param array $config
  * @throws Cake\Error\MissingModelException
+ * @todo Rewrite so it gets a model for a Table object
  * @return Model
  */
 	public function getMockForModel($model, $methods = array(), $config = array()) {