Better detection of running on the command line.

This commit is contained in:
jgen
2014-02-19 18:10:40 -05:00
parent 5a49bb59e4
commit 141be8768f
2 changed files with 6 additions and 10 deletions

View File

@ -8,7 +8,7 @@ class AliasEditorTest extends ShimmieWebTestCase {
$this->log_in_as_user();
$this->get_page('alias/list');
$this->assert_title("Alias List");
$this->assertFalse($this->assertFieldByName('oldtag', ''));
$this->assert_no_text("Add");
$this->log_out();
$this->log_in_as_admin();