Skip to content

Commit

Permalink
Adding test for previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 28, 2009
1 parent 51508c6 commit bcb5e42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cake/tests/cases/libs/model/behavior.test.php
Expand Up @@ -975,6 +975,8 @@ function testBehaviorMethodDispatchingWithData() {
$Apple->set('field', 'value'); $Apple->set('field', 'value');
$this->assertTrue($Apple->testData()); $this->assertTrue($Apple->testData());
$this->assertTrue($Apple->data['Apple']['field_2']); $this->assertTrue($Apple->data['Apple']['field_2']);

$this->assertTrue($Apple->testData('one', 'two', 'three', 'four', 'five', 'six'));
} }
/** /**
* testBehaviorTrigger method * testBehaviorTrigger method
Expand Down

0 comments on commit bcb5e42

Please sign in to comment.