diff --git a/composer.json b/composer.json
index 53267b8..2fb3ffd 100644
--- a/composer.json
+++ b/composer.json
@@ -15,7 +15,7 @@
         "php": "^5.6|^7.0"
     },
     "require-dev": {
-        "phpunit/phpunit": "^5.7"
+        "phpunit/phpunit": "^5.7|^6.0"
     },
     "autoload": {
         "classmap": ["lib/"],
diff --git a/tests/QrReaderTest.php b/tests/QrReaderTest.php
index 0521ec3..1ceac1f 100644
--- a/tests/QrReaderTest.php
+++ b/tests/QrReaderTest.php
@@ -2,7 +2,7 @@
 
 namespace Khanamiryan\QrCodeTests;
 
-class QrReaderTest extends \PHPUnit_Framework_TestCase
+class QrReaderTest extends \PHPUnit\Framework\TestCase
 {
 
     public function testText1()