diff --git a/tests/test-plugin.php b/tests/test-plugin.php index 1252510bfd9fc6b468c0a92554b6a0aa6f12d750..3d13a2a9da82ba2b8887020d193c8e1739f634fa 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(