From bdbb280064efc270808727d95b6c180781c836e2 Mon Sep 17 00:00:00 2001 From: jgen Date: Wed, 19 Feb 2014 04:27:29 -0500 Subject: [PATCH] Fixing the alias test cases. --- ext/alias_editor/test.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/alias_editor/test.php b/ext/alias_editor/test.php index f8fd5fd6..bcdd5bd4 100644 --- a/ext/alias_editor/test.php +++ b/ext/alias_editor/test.php @@ -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");