From 582c49ee0e3fd0f16bea5623ea27bbcf134fb3ca Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 10 Mar 2012 17:40:11 +0000 Subject: [PATCH] hash ban test --- contrib/image_hash_ban/test.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 contrib/image_hash_ban/test.php diff --git a/contrib/image_hash_ban/test.php b/contrib/image_hash_ban/test.php new file mode 100644 index 00000000..a248b8ca --- /dev/null +++ b/contrib/image_hash_ban/test.php @@ -0,0 +1,15 @@ +log_in_as_user(); + $image_id = $this->post_image("ext/simpletest/data/pbx_screenshot.jpg", "pbx"); + $this->log_out(); + + $this->log_in_as_admin(); + $this->get_page("post/view/$image_id"); + $this->click("Ban and Delete"); + $this->log_out(); + + } +} +?>