diff --git a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php index f234a8cce..adcbf4c58 100644 --- a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php +++ b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php @@ -354,8 +354,6 @@ class TreeBehaviorNumberTest extends CakeTestCase { $expected = array_merge(array($modelClass => array('name' => 'testAddMiddle', $parentField => '2')), $result); $this->assertSame($expected, $result); - $laterCount = $this->Tree->find('count'); - $laterCount = $this->Tree->find('count'); $this->assertEquals($initialCount + 1, $laterCount);