Contains was backwards

This commit is contained in:
Mike Jolley 2019-02-05 14:21:06 +00:00
parent 4635ccc04f
commit 72314f9dbc
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ class WC_Tests_Product_Data extends WC_Unit_Test_Case {
public function test_get_image_should_return_place_holder_image() {
$product = new WC_Product();
$this->assertContains( $product->get_image(), wc_placeholder_img_src() );
$this->assertContains( wc_placeholder_img_src(), $product->get_image() );
}
/**