From 682e56d19c5f3bcdefc32e0aee356dc3f59cb71f Mon Sep 17 00:00:00 2001 From: Julian Ramirez Date: Thu, 22 Jun 2023 16:57:45 -0500 Subject: [PATCH] fix: dummy test that always passes to test workflow, unit test require deleted --- includes/class-openedx-woocommerce-plugin.php | 6 +---- test/HelloTest.php | 23 ++++++++----------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/includes/class-openedx-woocommerce-plugin.php b/includes/class-openedx-woocommerce-plugin.php index 5686e84d..bf8dc675 100644 --- a/includes/class-openedx-woocommerce-plugin.php +++ b/includes/class-openedx-woocommerce-plugin.php @@ -138,11 +138,7 @@ private function load_dependencies() { * The class responsible for rendering the enrollment info form */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/views/class-openedx-woocommerce-plugin-enrollment-info-form.php'; - - /** - * The class responsible for doing the dummy testing - */ - require_once plugin_dir_path( dirname( __FILE__ ) ) . 'test/hello-test.php'; + } /** diff --git a/test/HelloTest.php b/test/HelloTest.php index aa6803a4..69d6fbda 100644 --- a/test/HelloTest.php +++ b/test/HelloTest.php @@ -1,21 +1,16 @@ assertTrue($actual === $expected); + } }