We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb7752 commit f6a9fa8Copy full SHA for f6a9fa8
tests/unit/CorePostTermsTest.php
@@ -45,7 +45,7 @@ public function query(): string {
45
... on CorePostTerms {
46
prefix
47
suffix
48
- term
+ taxonomySlug
49
terms {
50
__typename
51
nodes {
@@ -88,7 +88,7 @@ public function test_retrieve_core_post_terms(): void {
88
$this->assertEquals('CorePostTerms', $block['__typename']);
89
$this->assertEquals('Before', $block['prefix']);
90
$this->assertEquals('After', $block['suffix']);
91
- $this->assertEquals('category', $block['term']);
+ $this->assertEquals('category', $block['taxonomySlug']);
92
93
$this->assertArrayHasKey('terms', $block);
94
$this->assertArrayHasKey('nodes', $block['terms']);
0 commit comments