diff --git a/tests/test-wc-retailcrm-icml.php b/tests/test-wc-retailcrm-icml.php index a5a2cdc..883f721 100644 --- a/tests/test-wc-retailcrm-icml.php +++ b/tests/test-wc-retailcrm-icml.php @@ -8,7 +8,14 @@ class WC_Retailcrm_Icml_Test extends WC_Retailcrm_Test_Case_Helper WC_Helper_Product::create_simple_product(); } - WC_Helper_Product::create_variation_product(); + wp_insert_term( + 'Test', // the term + 'product_cat', // the taxonomy + array( + 'description'=> 'Test', + 'slug' => 'test' + ) + ); } public function testGenerate()