We can check that admin users see the "Add" button though.

This commit is contained in:
jgen 2014-02-22 15:25:25 -05:00
parent d6f0213a9f
commit 2d0edde2b2

View File

@ -11,6 +11,14 @@ class AliasEditorTest extends ShimmieWebTestCase {
$this->assert_no_text("Add");
$this->log_out();
$this->log_in_as_admin();
$this->get_page('alias/list');
$this->assert_title("Alias List");
$this->assert_text("Add");
$this->log_out();
/*
**********************************************************************
* FIXME: TODO:
@ -23,8 +31,6 @@ class AliasEditorTest extends ShimmieWebTestCase {
*
*********************************************************************
$this->log_in_as_admin();
# test one to one
$this->get_page('alias/list');
$this->assert_title("Alias List");