diff options
author | mattab <matthieu.aubry@gmail.com> | 2016-11-11 12:03:34 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2016-11-11 12:03:34 +0300 |
commit | 7a72308de49b5de44c926bf8c902f57182c8b514 (patch) | |
tree | 35ef2b1c1d0957fca4b0f3f6d5234c5fa59d928b /tests/PHPUnit/System | |
parent | 7a815db797b8a3209449ea5e482c23e3f0ac4282 (diff) |
fix integration test now that version number is in the page title
Diffstat (limited to 'tests/PHPUnit/System')
-rw-r--r-- | tests/PHPUnit/System/EnvironmentValidationTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PHPUnit/System/EnvironmentValidationTest.php b/tests/PHPUnit/System/EnvironmentValidationTest.php index 8f87d999f3..2755455324 100644 --- a/tests/PHPUnit/System/EnvironmentValidationTest.php +++ b/tests/PHPUnit/System/EnvironmentValidationTest.php @@ -10,6 +10,7 @@ namespace Piwik\Tests\System; use Piwik\Tests\Framework\Fixture; use Piwik\Tests\Framework\TestCase\SystemTestCase; +use Piwik\Version; /** * @group System @@ -134,7 +135,7 @@ class EnvironmentValidationTest extends SystemTestCase private function assertInstallationProcessStarted($output) { - $this->assertContains('<title>Piwik › Installation</title>', $output); + $this->assertContains('<title>Piwik '. Version::VERSION .' › Installation</title>', $output); } private function simulateAbsentConfigFile($fileName) |