Skip to content
Permalink
Browse files

Making a test more resilient when additional fixtures are loaded.

  • Loading branch information...
markstory committed Sep 10, 2010
1 parent bdb3feb commit fbd0741a834a85af14e39365849de708545181f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/cases/console/libs/tasks/model.test.php
@@ -179,7 +179,7 @@ function testGetNameValidOption() {
* @return void
*/
function testGetNameWithOutOfBoundsOption() {
$this->Task->expects($this->any())->method('in')->will($this->onConsecutiveCalls(10, 1));
$this->Task->expects($this->any())->method('in')->will($this->onConsecutiveCalls(99, 1));
$this->Task->expects($this->once())->method('err');
$result = $this->Task->getName('test_suite');

0 comments on commit fbd0741

Please sign in to comment.
You can’t perform that action at this time.