Skip to content

Commit

Permalink
Removing obsolete tests and adding a todo
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Oct 17, 2013
1 parent ad54587 commit ddcccc8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
10 changes: 0 additions & 10 deletions Cake/Test/TestCase/TestSuite/TestCaseTest.php
Expand Up @@ -412,14 +412,4 @@ public function testGetMockForModelModel() {
$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 change: 1 addition & 0 deletions Cake/TestSuite/TestCase.php
Expand Up @@ -689,6 +689,7 @@ protected function skipUnless($condition, $message = '') {
* @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()) {
Expand Down

0 comments on commit ddcccc8

Please sign in to comment.