diff --git a/tests/lib/SimpleSAML/ModuleTest.php b/tests/lib/SimpleSAML/ModuleTest.php
index 4dae7539d43abe0c3925506346739a44eb05a279..78f34f457a0fdf57368f222cca1a35c8046a2103 100644
--- a/tests/lib/SimpleSAML/ModuleTest.php
+++ b/tests/lib/SimpleSAML/ModuleTest.php
@@ -82,18 +82,6 @@ class ModuleTest extends TestCase
     }
 
 
-    /**
-     * Test for SimpleSAML\Module::resolveClass(). It will make sure that an exception is thrown if the class we are
-     * asking for cannot be found.
-     * @return void
-     */
-    public function testResolveClassNotFound(): void
-    {
-        $this->expectException(Exception::class);
-        Module::resolveClass('core:Missing', '');
-    }
-
-
     /**
      * Test for SimpleSAML\Module::resolveClass(). It will make sure that an exception is thrown if the class we are
      * asking for can be resolved, but does not extend a given class.