You are here

public function CKEditorFilterTest::testFilter in CKEditor Filter 7

Sanity test: ensure blacklisted elements are removed.

File

./ckeditor_filter.test, line 32

Class

CKEditorFilterTest

Code

public function testFilter() {
  $content = '<iframe>danger!</iframe>';
  $filtered = _ckeditor_filter_process($content, $this->filter);
  $this
    ->assertIdentical('danger!', $filtered);
}