Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2016-11-11 12:03:34 +0300
committermattab <matthieu.aubry@gmail.com>2016-11-11 12:03:34 +0300
commit7a72308de49b5de44c926bf8c902f57182c8b514 (patch)
tree35ef2b1c1d0957fca4b0f3f6d5234c5fa59d928b /tests/PHPUnit/System/EnvironmentValidationTest.php
parent7a815db797b8a3209449ea5e482c23e3f0ac4282 (diff)
fix integration test now that version number is in the page title
Diffstat (limited to 'tests/PHPUnit/System/EnvironmentValidationTest.php')
-rw-r--r--tests/PHPUnit/System/EnvironmentValidationTest.php3
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 &rsaquo; Installation</title>', $output);
+ $this->assertContains('<title>Piwik '. Version::VERSION .' &rsaquo; Installation</title>', $output);
}
private function simulateAbsentConfigFile($fileName)