public function testAdminProcessDisapprove() { $this->Comments->request->data['Comment'] = array('1' => 1, '2' => 0, 'action' => 'disapprove'); $this->Comments->admin_process(); $comment = $this->Comments->Comment->findById(1); $this->assertEqual($comment['Comment']['approved'], 0); }