You are here

function MediaOembedTestCase::testOembedFileFormatters in oEmbed 7.0

Tests the oembed render element types.

File

./oembed.test, line 262
Tests for oembed.module.

Class

MediaOembedTestCase

Code

function testOembedFileFormatters() {
  foreach ($this->urls as $url => $info) {
    $element = oembed_render_element('oembed_wysiwyg', $url);
    $this
      ->assertRenderedElement($element, '//img');
  }
}