From e49bb14aaf4636be38374e488b286cd777502e3c Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 22 Mar 2010 14:47:37 +0000 Subject: [PATCH] more coverage --- contrib/pm/test.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/contrib/pm/test.php b/contrib/pm/test.php index 7bd2ce8c..4757f5c5 100644 --- a/contrib/pm/test.php +++ b/contrib/pm/test.php @@ -16,6 +16,14 @@ class PrivMsgTest extends SCoreWebTestCase { $this->back(); $this->click("Delete"); $this->assert_no_text("message demo to test"); + + $this->get_page("pm/read/0"); + $this->assert_text("No such PM"); + $this->get_page("pm/delete/0"); + $this->assert_text("No such PM"); + $this->get_page("pm/waffle/0"); + $this->assert_text("Invalid action"); + $this->log_out(); }