This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Correcting unit test when checking the version

  • Loading branch information...
chdemko committed Nov 24, 2011
1 parent f717848 commit 4f1c10dbda89bf10691ff1814bc7edb708d6fbfb
Showing with 5 additions and 15 deletions.
  1. +5 −15 tests/suite/joomla/JPlatformTest.php
@@ -63,12 +63,7 @@ protected function tearDown()
*/
public function testGetShortVersion()
{
- $expected = '11.2.0';
- $this->assertEquals(
- $expected,
- JPlatform::getShortVersion(),
- 'Should get the correct Short Version'
- );
+ $this->markTestSkipped('The platform version number is not tested');
}
/**
@@ -94,16 +89,11 @@ function casesCompatibility()
false,
'Should not be compatible with null',
),
-// 'itself' => array(
-// JPLATFORM,
-// true,
-// 'Should be compatible with itself',
-// ),
- 'version 11.2.0' => array(
- '11.2.0',
+ 'itself' => array(
+ JPlatform::RELEASE.'.'.JPlatform::MAINTENANCE,
true,
- 'Should be compatible with 11.2.0',
- ),
+ 'Should be compatible with itself',
+ ),
'version 1.5.22' => array(
'1.5.22',
false,

0 comments on commit 4f1c10d

Please sign in to comment.