Skip to content

Commit bde86e9

Browse files
committed
test: skip mongodb bundle when extension is not loaded
1 parent 1c01a8b commit bde86e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Fixtures/app/AppKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function registerBundles(): array
8080
$bundles[] = new FriendsOfBehatSymfonyExtensionBundle();
8181
}
8282

83-
if (class_exists(DoctrineMongoDBBundle::class)) {
83+
if (extension_loaded('mongodb') && class_exists(DoctrineMongoDBBundle::class)) {
8484
$bundles[] = new DoctrineMongoDBBundle();
8585
}
8686

0 commit comments

Comments
 (0)