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 32eead9 commit 1f4b54dCopy full SHA for 1f4b54d
tests/includes/rest/class-test-nodeinfo-controller.php
@@ -37,7 +37,7 @@ public function test_get_items() {
37
38
$this->assertEquals( 200, $response->get_status() );
39
$this->assertArrayHasKey( 'links', $data );
40
- $this->assertCount( 2, $data['links'] );
+ $this->assertCount( 3, $data['links'] );
41
42
// Test first link.
43
$this->assertEquals( 'https://nodeinfo.diaspora.software/ns/schema/2.0', $data['links'][0]['rel'] );
0 commit comments