Migrate tests/_support folder to WordPress Coding Standard

[MAILPOET-6240]
This commit is contained in:
Jan Lysý
2024-11-04 11:27:07 +01:00
committed by Jan Lysý
parent 113dbaae2d
commit be63af8102
5 changed files with 59 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ class Content_Renderer_Test extends \MailPoetTest {
$this->diContainer->get( Email_Editor::class )->initialize();
$this->diContainer->get( BlockTypesController::class )->initialize();
$this->renderer = $this->diContainer->get( Content_Renderer::class );
$this->emailPost = $this->tester->createPost(
$this->emailPost = $this->tester->create_post(
array(
'post_content' => '<!-- wp:paragraph --><p>Hello!</p><!-- /wp:paragraph -->',
)