Skip to content

Commit 1f4b54d

Browse files
committed
fix tests
1 parent 32eead9 commit 1f4b54d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/includes/rest/class-test-nodeinfo-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function test_get_items() {
3737

3838
$this->assertEquals( 200, $response->get_status() );
3939
$this->assertArrayHasKey( 'links', $data );
40-
$this->assertCount( 2, $data['links'] );
40+
$this->assertCount( 3, $data['links'] );
4141

4242
// Test first link.
4343
$this->assertEquals( 'https://nodeinfo.diaspora.software/ns/schema/2.0', $data['links'][0]['rel'] );

0 commit comments

Comments
 (0)