From 083d1e51f7211d92739f3e5de818999267b7c698 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 26 Oct 2009 10:50:48 +0000 Subject: [PATCH] set comment limits higher --- ext/comment/test.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ext/comment/test.php b/ext/comment/test.php index 9bb9d139..c31555de 100644 --- a/ext/comment/test.php +++ b/ext/comment/test.php @@ -1,5 +1,21 @@ log_in_as_admin(); + $this->get_page("setup"); + $this->set_field("_config_comment_limit", "100"); + $this->click("Save Settings"); + $this->log_out(); + } + + function tearDown() { + $this->log_in_as_admin(); + $this->get_page("setup"); + $this->set_field("_config_comment_limit", "10"); + $this->click("Save Settings"); + $this->log_out(); + } + function testCommentsPage() { $this->log_in_as_user(); $image_id = $this->post_image("ext/simpletest/data/pbx_screenshot.jpg", "pbx");