From 330466ba800729a9658d42cd8b532643b62cc6c7 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sat, 25 Jun 2022 16:06:11 -0700 Subject: [PATCH] Fix test --- tests/test-plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-plugin.php b/tests/test-plugin.php index 1252510..3d13a2a 100755 --- a/tests/test-plugin.php +++ b/tests/test-plugin.php @@ -26,8 +26,8 @@ class PluginTest extends WP_UnitTestCase { /** * Create a post to test with. */ - public function setUp() { - parent::setUp(); + public function set_up() { + parent::set_up(); static::$post_id_published = $this->factory->post->create(); static::$post_id_draft = $this->factory->post->create( -- GitLab