Add ID to emailPost
This commit is contained in:
committed by
Rostislav Wolný
parent
fa73d97ae9
commit
7325785e6b
@@ -16,6 +16,7 @@ class ContentRendererTest extends \MailPoetTest {
|
|||||||
$this->diContainer->get(EmailEditor::class)->initialize();
|
$this->diContainer->get(EmailEditor::class)->initialize();
|
||||||
$this->renderer = $this->diContainer->get(ContentRenderer::class);
|
$this->renderer = $this->diContainer->get(ContentRenderer::class);
|
||||||
$this->emailPost = new \WP_Post((object)[
|
$this->emailPost = new \WP_Post((object)[
|
||||||
|
'ID' => 1,
|
||||||
'post_content' => '<!-- wp:paragraph --><p>Hello!</p><!-- /wp:paragraph -->',
|
'post_content' => '<!-- wp:paragraph --><p>Hello!</p><!-- /wp:paragraph -->',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user