Output the HTML when the install fails.

This commit is contained in:
jgen
2014-02-18 12:57:32 -05:00
parent f1608d39f1
commit cfc663de44
2 changed files with 7 additions and 3 deletions

View File

@@ -37,7 +37,11 @@ class ShimmieSimpleTestCase extends WebTestCase {
$this->setFieldByName("database_password", $this->db_pass);
$this->assertFieldByName("database_name", "shimmie");
$this->clickSubmit("Go!");
$this->assertTitle("Welcome to Shimmie");
if (!$this->assertTitle("Welcome to Shimmie")) {
$this->showSource();
}
$this->assertText("Welcome to Shimmie");
$this->assertText("This message will go away once your first image");
}