diff --git a/tests/includes/rest/class-test-nodeinfo-controller.php b/tests/includes/rest/class-test-nodeinfo-controller.php index 9d2d8d53d..eab0ed52a 100644 --- a/tests/includes/rest/class-test-nodeinfo-controller.php +++ b/tests/includes/rest/class-test-nodeinfo-controller.php @@ -37,7 +37,7 @@ public function test_get_items() { $this->assertEquals( 200, $response->get_status() ); $this->assertArrayHasKey( 'links', $data ); - $this->assertCount( 2, $data['links'] ); + $this->assertCount( 3, $data['links'] ); // Test first link. $this->assertEquals( 'https://nodeinfo.diaspora.software/ns/schema/2.0', $data['links'][0]['rel'] );