summaryrefslogtreecommitdiff
path: root/_test/cases
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2011-01-03 15:46:10 +0000
committerAnika Henke <anika@selfthinker.org>2011-01-03 15:47:06 +0000
commitbe96545ccf297b7b2a7bf10b2d0f35d636e8adf6 (patch)
treeffc717f29c6ef5061ed10ea649fb9b2bd8cfef7d /_test/cases
parent4c36bf829933f31b2adfa813cd61b9b895e31469 (diff)
downloadrpg-be96545ccf297b7b2a7bf10b2d0f35d636e8adf6.tar.gz
rpg-be96545ccf297b7b2a7bf10b2d0f35d636e8adf6.tar.bz2
removed obsolete references to 'JSnocheck' class
Diffstat (limited to '_test/cases')
-rw-r--r--_test/cases/inc/parser/xhtml_links.test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/cases/inc/parser/xhtml_links.test.php b/_test/cases/inc/parser/xhtml_links.test.php
index 6a74445b0..0ad96c793 100644
--- a/_test/cases/inc/parser/xhtml_links.test.php
+++ b/_test/cases/inc/parser/xhtml_links.test.php
@@ -12,7 +12,7 @@ class xhtml_links_test extends UnitTestCase {
$p = new Doku_Renderer_xhtml();
$p->emaillink('foo@example.com','<script>alert(\'"alert"\');</script>');
- $expect = '<a href="mailto:foo%20%5Bat%5D%20example%20%5Bdot%5D%20com" class="mail JSnocheck" title="foo [at] example [dot] com">&lt;script&gt;alert(&#039;&quot;alert&quot;&#039;);&lt;/script&gt;</a>';
+ $expect = '<a href="mailto:foo%20%5Bat%5D%20example%20%5Bdot%5D%20com" class="mail" title="foo [at] example [dot] com">&lt;script&gt;alert(&#039;&quot;alert&quot;&#039;);&lt;/script&gt;</a>';
$this->assertEqual($p->doc,$expect);
}
@@ -36,7 +36,7 @@ class xhtml_links_test extends UnitTestCase {
$p = new Doku_Renderer_xhtml();
$p->emaillink('foo@example.com',$image);
- $expect = '<a href="mailto:foo%20%5Bat%5D%20example%20%5Bdot%5D%20com" class="media JSnocheck" title="foo [at] example [dot] com"><img src="'.DOKU_BASE.'lib/exe/fetch.php/img.gif?w=10&amp;h=20&amp;cache=nocache" class="media" title="Some Image" alt="Some Image" width="10" height="20" /></a>';
+ $expect = '<a href="mailto:foo%20%5Bat%5D%20example%20%5Bdot%5D%20com" class="media" title="foo [at] example [dot] com"><img src="'.DOKU_BASE.'lib/exe/fetch.php/img.gif?w=10&amp;h=20&amp;cache=nocache" class="media" title="Some Image" alt="Some Image" width="10" height="20" /></a>';
$this->assertEqual($p->doc,$expect);
}