Skip to content

Commit

Permalink
Fixed tests for variable products
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Jul 28, 2015
1 parent ef5f41d commit 7d4a531
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/framework/helpers/class-wc-helper-product.php
Expand Up @@ -93,8 +93,8 @@ public static function create_variation_product() {
// Attributes
update_post_meta( $product_id, '_default_attributes', array() );
update_post_meta( $product_id, '_product_attributes', array(
'pa_dummyattribute' => array(
'name' => 'pa_dummyattribute',
'pa_size' => array(
'name' => 'pa_size',
'value' => '',
'position' => '1',
'is_visible' => 0,
Expand Down Expand Up @@ -239,4 +239,4 @@ public static function delete_attribute( $attribute_id ) {
$wpdb->query( "DELETE FROM {$wpdb->prefix}woocommerce_attribute_taxonomies WHERE attribute_id = $attribute_id" );
}

}
}

0 comments on commit 7d4a531

Please sign in to comment.