diff --git a/contrib/image_hash_ban/test.php b/contrib/image_hash_ban/test.php new file mode 100644 index 00000000..a1b1e889 --- /dev/null +++ b/contrib/image_hash_ban/test.php @@ -0,0 +1,19 @@ +receive_event($due); + $this->assertTrue(false); // shouldn't work + } + catch(DataUploadException $ex) { + $this->assertTrue(true); // should fail + } + catch(Exception $ex) { + $this->assertTrue(false); // but not with any other error + } + } +} +?>