diff --git a/tests/Module/MySqlContainerTest.php b/tests/Module/MySqlContainerTest.php index b9ad375..4d526c2 100644 --- a/tests/Module/MySqlContainerTest.php +++ b/tests/Module/MySqlContainerTest.php @@ -16,6 +16,12 @@ final class MySqlContainerTest extends TestCase public static function setUpBeforeClass(): void { + if (extension_loaded('pdo_mysql') === false) { + self::markTestSkipped('The pdo_mysql extension is not installed/enabled.'); + + return; + } + self::$container = new MySqlContainer(); self::$container->start(); }