more coverage

This commit is contained in:
Shish 2010-03-22 14:47:37 +00:00
parent 4416343425
commit e49bb14aaf

View File

@ -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();
}