Update CallbackTest.php
resetEditHtmlCallback was removed per suggestions from PowerKiki
This commit is contained in:
parent
39eeef5ec6
commit
48c65cff7f
|
@ -33,7 +33,7 @@ EOF;
|
||||||
$html1 = $writer->generateHTMLall();
|
$html1 = $writer->generateHTMLall();
|
||||||
$writer->setEditHtmlCallback([$this, 'yellowBody']);
|
$writer->setEditHtmlCallback([$this, 'yellowBody']);
|
||||||
$html2 = $writer->generateHTMLall();
|
$html2 = $writer->generateHTMLall();
|
||||||
$writer->resetEditHtmlCallback();
|
$writer->setEditHtmlCallback(null);
|
||||||
$html3 = $writer->generateHTMLall();
|
$html3 = $writer->generateHTMLall();
|
||||||
|
|
||||||
self::assertFalse(strpos($html1, 'background-color: yellow'));
|
self::assertFalse(strpos($html1, 'background-color: yellow'));
|
||||||
|
|
Loading…
Reference in New Issue