Check for the correct text if the install succeeds.

This commit is contained in:
jgen 2014-02-18 16:58:31 -05:00
parent 74748d55c0
commit dc8d1b4f49

View file

@ -41,12 +41,8 @@ class ShimmieSimpleTestCase extends WebTestCase {
$this->assertField("database_name", "shimmie");
$this->clickSubmit("Go!");
if (!$this->assertTitle("Welcome to Shimmie")) {
if (!$this->assertText("Installation Succeeded!")) {
$this->showSource();
}
$this->assertText("Welcome to Shimmie");
$this->assertText("This message will go away once your first image");
}
}