Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions tests/ZendTest/Version/VersionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

namespace ZendTest\Version;

use Zend\Http;
use Zend\Version\Version;

/**
* @group Zend_Version
*/
class Zend_VersionTest extends \PHPUnit_Framework_TestCase
class VersionTest extends \PHPUnit_Framework_TestCase
{
/**
* Tests that version_compare() and its "proxy"
* Zend_Version::compareVersion() work as expected.
* Zend\Version\Version::compareVersion() work as expected.
*/
public function testVersionCompare()
{
Expand All @@ -40,7 +42,7 @@ public function testVersionCompare()
$this->assertSame(
Version::compareVersion($ver),
$expect,
"For version '$ver' and Zend_Version::VERSION = '"
"For version '$ver' and Zend\Version\Version::VERSION = '"
. Version::VERSION . "': result=" . (Version::compareVersion($ver))
. ', but expected ' . $expect);
}
Expand Down