Skip to content

Commit f6a9fa8

Browse files
committed
Updates the unit test class accordingly.
1 parent 7cb7752 commit f6a9fa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/CorePostTermsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function query(): string {
4545
... on CorePostTerms {
4646
prefix
4747
suffix
48-
term
48+
taxonomySlug
4949
terms {
5050
__typename
5151
nodes {
@@ -88,7 +88,7 @@ public function test_retrieve_core_post_terms(): void {
8888
$this->assertEquals('CorePostTerms', $block['__typename']);
8989
$this->assertEquals('Before', $block['prefix']);
9090
$this->assertEquals('After', $block['suffix']);
91-
$this->assertEquals('category', $block['term']);
91+
$this->assertEquals('category', $block['taxonomySlug']);
9292

9393
$this->assertArrayHasKey('terms', $block);
9494
$this->assertArrayHasKey('nodes', $block['terms']);

0 commit comments

Comments
 (0)