diff --git a/tests/lib/SimpleSAML/DatabaseTest.php b/tests/lib/SimpleSAML/DatabaseTest.php
index cfafb15cdcedab3d48085db62c1c8461cabff6ed..b3305ab4395b09987ee18465cbb9adc777caebee 100644
--- a/tests/lib/SimpleSAML/DatabaseTest.php
+++ b/tests/lib/SimpleSAML/DatabaseTest.php
@@ -222,6 +222,13 @@ class DatabaseTest extends TestCase
         $this->assertEquals($prefix . $table, $pftable, "Did not properly apply the table prefix");
     }
 
+    /**
+     * @test
+     */
+    public function testGetDriver(): void
+    {
+        $this->assertEquals('sqlite', $this->db->getDriver());
+    }
 
     /**
      * @test