[ticket/297] Rename version_check method to check to prevent 2nd constructor

B3P-297
This commit is contained in:
Marc Alexander
2014-07-08 16:14:59 +02:00
parent f4fd6f73e0
commit bf7b8eb99b
3 changed files with 4 additions and 4 deletions

View File

@@ -39,8 +39,8 @@ class phpbb_functions_version_check_test extends \board3\portal\tests\testframew
public function test_version_check()
{
$this->assertTrue(true);
$this->assertNull($this->version_check->version_check());
$this->assertEquals('2.1.0', $this->version_check->version_check(true));
$this->assertNull($this->version_check->check());
$this->assertEquals('2.1.0', $this->version_check->check(true));
$this->template->assert_equals(array(
'CURRENT_VERSION' => '2.1.0',
'TITLE' => 'Board3 Portal',