From 222d82b3c383e300894c3ef042f3905281eae627 Mon Sep 17 00:00:00 2001 From: jgen Date: Tue, 18 Feb 2014 03:32:05 -0500 Subject: [PATCH] Test the installer. --- tests/test_install.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_install.php b/tests/test_install.php index 233aaa30..c8d10c90 100644 --- a/tests/test_install.php +++ b/tests/test_install.php @@ -36,7 +36,10 @@ class ShimmieSimpleTestCase extends WebTestCase { $this->setFieldByName("database_user", $this->db_user); $this->setFieldByName("database_password", $this->db_pass); $this->assertFieldByName("database_name", "shimmie"); - + $this->clickSubmit("Go!"); + $this->assertTitle("Welcome to Shimmie"); + $this->assertText("Welcome to Shimmie"); + $this->assertText("This message will go away once your first image"); } }