Skip to content

Commit

Permalink
devops: CollectionStatsQueryTest patched
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed May 17, 2024
1 parent 1a7096d commit 2959256
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/wpunit/CollectionStatsQueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public function testCollectionStatsQuery() {
where: $where
) {
attributeCounts {
name
slug
label
name
terms {
node { slug }
termId
Expand Down Expand Up @@ -72,8 +72,6 @@ public function testCollectionStatsQuery() {
'collectionStats.attributeCounts',
[
$this->expectedField( 'slug', 'PA_COLOR' ),
$this->expectedField( 'label', 'Product color' ),
$this->expectedField( 'name', 'color' ),
$this->expectedNode(
'terms',
[
Expand Down

0 comments on commit 2959256

Please sign in to comment.