Verified Commit c01db5df authored by Erick Hitter's avatar Erick Hitter
Browse files

Allow test utility for comparing arrays to be used without running assertions

parent bd36c03e
......@@ -41,6 +41,10 @@ class Utils {
}
}
$context->assertEquals( $expected, $tested_data );
if ( is_object( $context ) ) {
$context->assertEquals( $expected, $tested_data );
} else {
return $tested_data;
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment