phpcs for products.php

This commit is contained in:
Ron Rennick 2019-02-14 19:18:34 -04:00
parent b69f8fdbf2
commit 7a255d7490
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class WC_Tests_API_Products extends WC_REST_Unit_Test_Case {
); );
foreach ( $properties as $property_key => $property ) { foreach ( $properties as $property_key => $property ) {
if ( in_array( $property_key, $properties_to_embed ) ) { if ( in_array( $property_key, $properties_to_embed, true ) ) {
$this->assertEquals( array( 'view', 'edit', 'embed' ), $property['context'] ); $this->assertEquals( array( 'view', 'edit', 'embed' ), $property['context'] );
} }
} }