This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/contrib/blotter/test.php
2010-02-18 14:34:44 +00:00

21 lines
502 B
PHP

<?php
class BlotterTest extends SCoreWebTestCase {
function testView() {
$this->log_in_as_admin();
$this->assert_text("Blotter Editor");
$this->click("Blotter Editor");
$this->log_out();
}
function testAdd() {
$this->log_in_as_admin();
$this->get_page("blotter/editor");
$this->set_field("entry_text", "blotter testing");
$this->click("Add");
$this->assert_text("blotter testing");
$this->clock("Remove");
$this->assert_no_text("blotter testing");
$this->log_out();
}
}
?>