+ /**
+ * Tests that media.settings config is updated with oEmbed configuration.
+ *
+ * @see media_update_8600()
+ */
+ public function testOEmbedConfig() {
+ $config = $this->config('media.settings');
+ $this->assertNull($config->get('oembed_providers_url'));
+ $this->assertNull($config->get('iframe_domain'));
+
+ $this->runUpdates();
+
+ $config = $this->config('media.settings');
+ $this->assertSame('https://oembed.com/providers.json', $config->get('oembed_providers_url'));
+ $this->assertSame('', $config->get('iframe_domain'));
+ }
+