diff --git a/tests/lib/SimpleSAML/Metadata/MetaDataStorageSourceTest.php b/tests/lib/SimpleSAML/Metadata/MetaDataStorageSourceTest.php
index 7e8f918f7f0af6703f3df62fdfafee039bf267ad..591fd7fbffe57a9b44cbb087d9b60495862ca92f 100644
--- a/tests/lib/SimpleSAML/Metadata/MetaDataStorageSourceTest.php
+++ b/tests/lib/SimpleSAML/Metadata/MetaDataStorageSourceTest.php
@@ -6,7 +6,7 @@ namespace SimpleSAML\Test\Metadata;
  * Class MetaDataStorageSourceTest
  */
 
-class MetaDataStorageSourceTest extends \PHPUnit_Framework_TestCase
+class MetaDataStorageSourceTest extends \PHPUnit\Framework\TestCase
 {
     /**
      * Test \SimpleSAML\Metadata\MetaDataStorageSourceTest::getConfig XML bad source