Fixing the alias test cases.
This commit is contained in:
parent
61bf9b9b3e
commit
bdbb280064
1 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,7 @@ class AliasEditorTest extends ShimmieWebTestCase {
|
|||
$this->set_field('oldtag', "test1");
|
||||
$this->set_field('newtag', "test2");
|
||||
$this->click("Add");
|
||||
$this->get_page('alias/list');
|
||||
$this->assert_text("test1");
|
||||
|
||||
$this->get_page("alias/export/aliases.csv");
|
||||
|
@ -38,6 +39,7 @@ class AliasEditorTest extends ShimmieWebTestCase {
|
|||
$this->set_field('oldtag', "onetag");
|
||||
$this->set_field('newtag', "multi tag");
|
||||
$this->click("Add");
|
||||
$this->get_page('alias/list');
|
||||
$this->assert_text("multi");
|
||||
$this->assert_text("tag");
|
||||
|
||||
|
@ -61,12 +63,12 @@ class AliasEditorTest extends ShimmieWebTestCase {
|
|||
|
||||
$this->get_page('alias/list');
|
||||
$this->click("Remove");
|
||||
$this->get_page('alias/list');
|
||||
$this->assert_title("Alias List");
|
||||
$this->assert_no_text("test1");
|
||||
|
||||
$this->log_out();
|
||||
|
||||
|
||||
$this->get_page('alias/list');
|
||||
$this->assert_title("Alias List");
|
||||
$this->assert_no_text("Add");
|
||||
|
|
Reference in a new issue