get_page('nicetest'); $this->assert_content("ok"); $this->assert_no_content("\n"); } public function testAuthAnon() { $this->get_page('setup'); $this->assert_response(403); $this->assert_title("Permission Denied"); } public function testAuthUser() { $this->log_in_as_user(); $this->get_page('setup'); $this->assert_response(403); $this->assert_title("Permission Denied"); } public function testAuthAdmin() { $this->log_in_as_admin(); $this->get_page('setup'); $this->assert_title("Shimmie Setup"); $this->assert_text("General"); } public function testAdvanced() { $this->log_in_as_admin(); $this->get_page('setup/advanced'); $this->assert_title("Shimmie Setup"); $this->assert_text("thumb_quality"); } }