Skip to content

Commit

Permalink
Merge branch 'trunk' into fix/nodinfo-rel
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle authored Feb 6, 2025
2 parents b9e6047 + 1f4b54d commit a82ba85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/includes/rest/class-test-nodeinfo-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] );
Expand Down

0 comments on commit a82ba85

Please sign in to comment.