Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisnissle committed Sep 23, 2024
1 parent 5bd2190 commit 90ad662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit-tests/api/products.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down

0 comments on commit 90ad662

Please sign in to comment.