From dc8d1b4f491d576d16f5d23df74f89e2d0bcc549 Mon Sep 17 00:00:00 2001 From: jgen Date: Tue, 18 Feb 2014 16:58:31 -0500 Subject: [PATCH] Check for the correct text if the install succeeds. --- tests/test_install.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_install.php b/tests/test_install.php index 46b012c3..f394a2db 100644 --- a/tests/test_install.php +++ b/tests/test_install.php @@ -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"); } - }