diff --git a/composer.json b/composer.json
index 95c2a8e..4ee219b 100644
--- a/composer.json
+++ b/composer.json
@@ -23,7 +23,7 @@
"php": ">=5.3.0"
},
"require-dev": {
- "phpunit/phpunit": "4.5.*",
+ "phpunit/phpunit": "7.5.*",
"codeclimate/php-test-reporter": "dev-master"
},
"autoload": {
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 0b974d5..5cbd378 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -7,9 +7,9 @@
-
- ./vendor/
-
+
+ ./AltoRouter.php
+
diff --git a/tests/AltoRouterTest.php b/tests/AltoRouterTest.php
index 9444549..e966537 100644
--- a/tests/AltoRouterTest.php
+++ b/tests/AltoRouterTest.php
@@ -3,7 +3,6 @@
require 'AltoRouter.php';
class AltoRouterDebug extends AltoRouter{
-
public function getNamedRoutes(){
return $this->namedRoutes;
}
@@ -11,7 +10,6 @@ class AltoRouterDebug extends AltoRouter{
public function getBasePath(){
return $this->basePath;
}
-
}
class SimpleTraversable implements Iterator{
@@ -41,10 +39,7 @@ class SimpleTraversable implements Iterator{
}
-/**
- * Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2013-07-14 at 17:47:46.
- */
-class AltoRouterTest extends PHPUnit_Framework_TestCase
+class AltoRouterTest extends PHPUnit\Framework\TestCase
{
/**
* @var AltoRouter