mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
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
This commit is contained in:
parent
af16245ab0
commit
1d56175560
1 changed files with 4 additions and 2 deletions
|
@ -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 {
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Loading…
Add table
Reference in a new issue