phpcs for products.php
This commit is contained in:
parent
b69f8fdbf2
commit
7a255d7490
|
@ -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'] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue