Update CallbackTest.php

resetEditHtmlCallback was removed per suggestions from PowerKiki
This commit is contained in:
oleibman 2020-05-31 11:11:18 -07:00 committed by GitHub
parent 39eeef5ec6
commit 48c65cff7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ EOF;
$html1 = $writer->generateHTMLall();
$writer->setEditHtmlCallback([$this, 'yellowBody']);
$html2 = $writer->generateHTMLall();
$writer->resetEditHtmlCallback();
$writer->setEditHtmlCallback(null);
$html3 = $writer->generateHTMLall();
self::assertFalse(strpos($html1, 'background-color: yellow'));