Skip to content

Commit 5fe6c35

Browse files
committed
Fix tests
1 parent cadc9d2 commit 5fe6c35

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "library",
44
"description": "Semantic version parser and comparator for PHP.",
55
"minimum-stability": "stable",
6-
"keywords": ["Semantic version", "semver"],
6+
"keywords": ["Semantic version", "semver", "semver-parsing", "semver-compare"],
77
"homepage": "https://github.com/z4kn4fein/php-semver",
88
"license": "MIT",
99
"authors": [

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
processIsolation="false"
1212
stopOnFailure="false">
1313
<testsuites>
14-
<testsuite name="Semver Tests">
14+
<testsuite name="Unit Tests">
1515
<directory>tests</directory>
1616
</testsuite>
1717
</testsuites>

tests/CompareTests.php renamed to tests/CompareTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
namespace z4kn4fein\SemVer\Tests;
44

5-
use PHPUnit\Framework\TestCase;
65
use z4kn4fein\SemVer\Version;
76

8-
class CompareTests extends TestCase
7+
class CompareTest extends \PHPUnit_Framework_TestCase
98
{
109
public function testLessThanByNumbers()
1110
{

tests/ParseTests.php renamed to tests/ParseTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
namespace z4kn4fein\SemVer\Tests;
44

5-
use PHPUnit\Framework\TestCase;
65
use z4kn4fein\SemVer\Version;
76
use z4kn4fein\SemVer\VersionFormatException;
87

9-
class ParseTests extends TestCase
8+
class ParseTest extends \PHPUnit_Framework_TestCase
109
{
1110
public function testNull()
1211
{

0 commit comments

Comments
 (0)