forked from Cavemanon/cavepaintings
Check the actual http response code.
This commit is contained in:
@@ -11,7 +11,8 @@ class AliasEditorTest extends ShimmieWebTestCase {
|
||||
$this->assert_title("Alias List");
|
||||
$this->set_field('oldtag', "test1");
|
||||
$this->set_field('newtag', "test2");
|
||||
$this->click("Add");
|
||||
$this->clickSubmit("Add");
|
||||
$this->assertResponse(302);
|
||||
|
||||
$this->get_page('alias/list');
|
||||
if (!$this->assert_text("test1")) {
|
||||
|
Reference in New Issue
Block a user