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

@ -29,8 +29,8 @@ after_failure:
- sudo cat /etc/nginx/sites-enabled/default
- sudo cat /var/log/nginx/error.log
- sudo cat /var/log/php5-fpm.log
- sudo cat /var/log/mysql.*
- sudo ls /var/log/nginx
- sudo cat /var/log/mysql.log
- sudo cat /var/log/mysql.err
# configure notifications (email, IRC, campfire etc)
#notifications:

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");
}