From 90ad662ad83abc998816bd6fcf1c98c97fa9ff4f Mon Sep 17 00:00:00 2001 From: vendidero Date: Mon, 23 Sep 2024 17:45:52 +0200 Subject: [PATCH] tests --- tests/unit-tests/api/products.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-tests/api/products.php b/tests/unit-tests/api/products.php index e100c28a..c4ba219f 100644 --- a/tests/unit-tests/api/products.php +++ b/tests/unit-tests/api/products.php @@ -98,7 +98,7 @@ public function test_create_product() { $nutrient = wp_insert_term( 'Salt', 'product_nutrient', array( 'slug' => 'salt' ) ); $nutrient_2 = wp_insert_term( 'Natrium', 'product_nutrient', array( 'slug' => 'natrium' ) ); $allergen = wp_insert_term( 'Nut', 'product_allergen', array( 'slug' => 'nut' ) ); - $attachment_id = WC_GZD_Helper_Product::create_attachment( 'test' ); + // $attachment_id = WC_GZD_Helper_Product::create_attachment( 'test' ); // Create simple. $request = new WP_REST_Request( 'POST', '/wc/v3/products' );