diff --git a/db/install.php b/db/install.php index 26e3cbd..ec5dfdb 100644 --- a/db/install.php +++ b/db/install.php @@ -32,7 +32,9 @@ * Installs the OEmbed filter. */ function xmldb_filter_oembed_install() { - filter_set_global_state('filter/oembed', TEXTFILTER_ON); + if (!PHPUNIT_TEST) { + filter_set_global_state('filter/oembed', TEXTFILTER_ON); + } // Insert the initial data elements from the instance's providers. oembed::update_provider_data();