From 48974f29f193162503a548ba740f540f3c3faa97 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 30 Jul 2020 17:00:11 -0300 Subject: [PATCH] Fixed unit tests for WC_Notes_Run_Db_Update --- .../admin/notes/class-wc-tests-notes-run-db-update.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/legacy/unit-tests/admin/notes/class-wc-tests-notes-run-db-update.php b/tests/legacy/unit-tests/admin/notes/class-wc-tests-notes-run-db-update.php index 7b89ea0748825..f911cbf5bdde2 100644 --- a/tests/legacy/unit-tests/admin/notes/class-wc-tests-notes-run-db-update.php +++ b/tests/legacy/unit-tests/admin/notes/class-wc-tests-notes-run-db-update.php @@ -17,6 +17,7 @@ class WC_Tests_Notes_Run_Db_Update extends WC_Unit_Test_Case { * */ public static function setUpBeforeClass() { + include_once WC_Unit_Tests_Bootstrap::instance()->plugin_dir . '/includes/admin/wc-admin-functions.php'; include_once WC_Unit_Tests_Bootstrap::instance()->plugin_dir . '/includes/admin/notes/class-wc-notes-run-db-update.php'; }