Permalink
Browse files

Removing obsolete tests and adding a todo

  • Loading branch information...
lorenzo committed Oct 17, 2013
1 parent ad54587 commit ddcccc85395e2b78b1102334458a3f80a3c69d4f
Showing with 1 addition and 10 deletions.
  1. +0 −10 Cake/Test/TestCase/TestSuite/TestCaseTest.php
  2. +1 −0 Cake/TestSuite/TestCase.php
@@ -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');
}
}
@@ -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()) {

0 comments on commit ddcccc8

Please sign in to comment.