Skip to content

Commit 7c52d67

Browse files
committed
- composer fix-cs
1 parent 305d254 commit 7c52d67

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/FieldType/Taxonomy.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ static function ( $id ) {
5050
$args['where']['order'] = $args['where']['order'] ?? 'ASC';
5151

5252
return ( new TermObjectConnectionResolver( $root, $args, $context, $info ) )->get_connection();
53-
5453
},
5554
];
5655

tests/wpunit/FieldTypes/TaxonomyFieldTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ public function testQueryReturnsTermsInOrderTheyWereSaved() {
185185
], 2 ),
186186
]);
187187

188+
foreach ( $cats as $cat ) {
189+
wp_delete_term( $cat, 'category' );
190+
}
191+
188192
}
189193

190194
public function testQueryTaxononomyFieldOnBlock() {

0 commit comments

Comments
 (0)