Skip to content

Commit edc92e9

Browse files
committed
Removed and fixed some bad tests no longer necessary to test.
1 parent c07eee3 commit edc92e9

File tree

4 files changed

+6
-660
lines changed

4 files changed

+6
-660
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ build
1010
.php_cs.cache
1111
coverage
1212
phpunit9
13+
.phpunit.cache
14+
phpunit.xml.bak

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tornevall/tornelib-php-netcurl",
3-
"version": "6.1.7",
3+
"version": "6.1.8",
44
"description": "Yet another Curl Library to handling web calls",
55
"license": "Apache-2.0",
66
"require": {
@@ -11,6 +11,9 @@
1111
"tornevall/tornelib-php-utils": "6.1.*",
1212
"tornevall/tornelib-php-version": "6.1.*"
1313
},
14+
"require-dev": {
15+
"phpunit/phpunit": "^10.5"
16+
},
1417
"authors": [
1518
{
1619
"name": "Tomas Tornevall",

tests/genericTest.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -89,24 +89,6 @@ public function getHigherVersions()
8989
);
9090
}
9191

92-
/**
93-
* @test
94-
* Test latest tag with latest release. List should be empty.
95-
* @throws ExceptionHandler
96-
* @throws ReflectionException
97-
*/
98-
public function getMyVersion()
99-
{
100-
$info = (new NetUtils())->getHigherVersions(
101-
'https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl.git',
102-
(new NetWrapper())->getVersion()
103-
);
104-
105-
static::assertTrue(
106-
count($info) > 0
107-
);
108-
}
109-
11092
/**
11193
* @test
11294
* @throws ExceptionHandler

0 commit comments

Comments
 (0)