From 1d56175560c5a24614054a64f472dd6dd1648229 Mon Sep 17 00:00:00 2001 From: "mariano.iglesias" Date: Tue, 3 Jun 2008 02:41:29 +0000 Subject: [PATCH] Adding missing attach to replicate issue what was already solved for #4790 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7098 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/model/behaviors/containable.test.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cake/tests/cases/libs/model/behaviors/containable.test.php b/cake/tests/cases/libs/model/behaviors/containable.test.php index 6cb8dbc2c..d3b27822a 100644 --- a/cake/tests/cases/libs/model/behaviors/containable.test.php +++ b/cake/tests/cases/libs/model/behaviors/containable.test.php @@ -3172,7 +3172,9 @@ class ContainableTest extends CakeTestCase { $this->assertTrue(Set::matches('/Comment[id=1]', $r)); } - function testOriginalAssociations() { + function testOriginalAssociations() { + $this->Article->Comment->Behaviors->attach('Containable'); + $options = array( 'conditions' => array( 'Comment.comment' => '!= Crazy', @@ -3267,4 +3269,4 @@ class ContainableTest extends CakeTestCase { } } -?> +?> \ No newline at end of file