Output the HTML when the install fails.
This commit is contained in:
parent
f1608d39f1
commit
cfc663de44
@ -29,8 +29,8 @@ after_failure:
|
|||||||
- sudo cat /etc/nginx/sites-enabled/default
|
- sudo cat /etc/nginx/sites-enabled/default
|
||||||
- sudo cat /var/log/nginx/error.log
|
- sudo cat /var/log/nginx/error.log
|
||||||
- sudo cat /var/log/php5-fpm.log
|
- sudo cat /var/log/php5-fpm.log
|
||||||
- sudo cat /var/log/mysql.*
|
- sudo cat /var/log/mysql.log
|
||||||
- sudo ls /var/log/nginx
|
- sudo cat /var/log/mysql.err
|
||||||
|
|
||||||
# configure notifications (email, IRC, campfire etc)
|
# configure notifications (email, IRC, campfire etc)
|
||||||
#notifications:
|
#notifications:
|
||||||
|
@ -37,7 +37,11 @@ class ShimmieSimpleTestCase extends WebTestCase {
|
|||||||
$this->setFieldByName("database_password", $this->db_pass);
|
$this->setFieldByName("database_password", $this->db_pass);
|
||||||
$this->assertFieldByName("database_name", "shimmie");
|
$this->assertFieldByName("database_name", "shimmie");
|
||||||
$this->clickSubmit("Go!");
|
$this->clickSubmit("Go!");
|
||||||
$this->assertTitle("Welcome to Shimmie");
|
|
||||||
|
if (!$this->assertTitle("Welcome to Shimmie")) {
|
||||||
|
$this->showSource();
|
||||||
|
}
|
||||||
|
|
||||||
$this->assertText("Welcome to Shimmie");
|
$this->assertText("Welcome to Shimmie");
|
||||||
$this->assertText("This message will go away once your first image");
|
$this->assertText("This message will go away once your first image");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user