create category in tests
This commit is contained in:
parent
f09d4c1f72
commit
1912a779e0
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user