1
0
mirror of synced 2025-02-20 17:03:13 +03:00

create category in tests

This commit is contained in:
Akolzin Dmitry 2020-04-05 12:13:09 +03:00
parent f09d4c1f72
commit 1912a779e0

View File

@ -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()