Skip to content

Commit 6c2c7d7

Browse files
Update version test to 2.1
1 parent 1a149fb commit 6c2c7d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/phpbu/VersionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ class VersionTest extends \PHPUnit_Framework_TestCase
2020
public function testId()
2121
{
2222
$version = Version::id();
23-
$this->assertTrue(strpos($version, '2.0') !== false, 'version should match');
23+
$this->assertTrue(strpos($version, '2.1') !== false, 'version should match');
2424

2525
$cachedVersion = Version::id();
26-
$this->assertTrue(strpos($cachedVersion, '2.0') !== false, 'version should match');
26+
$this->assertTrue(strpos($cachedVersion, '2.1') !== false, 'version should match');
2727
}
2828

2929
/**
@@ -33,7 +33,7 @@ public function testGetVersion()
3333
{
3434
$version = Version::getVersionString();
3535

36-
$this->assertEquals('phpbu 2.0', substr($version, 0, 9), 'version should match');
36+
$this->assertEquals('phpbu 2.1', substr($version, 0, 9), 'version should match');
3737
}
3838

3939
/**

0 commit comments

Comments
 (0)