Fix rendering issues in form blocks
[MAILPOET-3415]
This commit is contained in:
committed by
Veljko V
parent
6e911ffd1d
commit
c1aef842d2
@@ -35,6 +35,7 @@ class BlockRendererHelperTest extends \MailPoetUnitTest {
|
||||
parent::_before();
|
||||
$this->wpMock = $this->createMock(WPFunctions::class);
|
||||
$this->wpMock->method('escAttr')->will($this->returnArgument(0));
|
||||
$this->wpMock->method('escHtml')->will($this->returnArgument(0));
|
||||
$this->obfuscatorMock = $this->createMock(FieldNameObfuscator::class);
|
||||
$this->obfuscatorMock->method('obfuscate')->will($this->returnArgument(0));
|
||||
$this->rendererHelper = new BlockRendererHelper($this->obfuscatorMock, $this->wpMock);
|
||||
|
Reference in New Issue
Block a user