Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit c04ef88

Browse files
committed
Use assertCount instead of assertEquals to clean up the usage.
1 parent 30594a5 commit c04ef88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-filters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function test_wc_get_orders_custom_meta_key() {
9494

9595
$orders = wc_get_orders( array( '_custom_meta_key' => 'value' ) );
9696

97-
$this->assertEquals( 1, count($orders) );
97+
$this->assertCount( 1, $orders );
9898
}
9999

100100
public function test_filter_database_queries_without_meta_queries() {

0 commit comments

Comments
 (0)