Skip to content

Commit

Permalink
Tests: Update incorrect assertion message added in [57366].
Browse files Browse the repository at this point in the history
Props david.binda.
Fixes #60358.

git-svn-id: https://develop.svn.wordpress.org/trunk@57710 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
swissspidy committed Feb 26, 2024
1 parent 716cf66 commit 55290ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ public function test_get_item_schema() {
$this->assertArrayHasKey( 'modified', $properties, 'modified key should exist in properties.' );
$this->assertArrayHasKey( 'is_custom', $properties, 'is_custom key should exist in properties.' );
$this->assertArrayHasKey( 'parent', $properties, 'Parent key should exist in properties.' );
$this->assertArrayHasKey( 'author_text', $properties, 'Parent key should exist in properties.' );
$this->assertArrayHasKey( 'original_source', $properties, 'Parent key should exist in properties.' );
$this->assertArrayHasKey( 'author_text', $properties, 'author_text key should exist in properties.' );
$this->assertArrayHasKey( 'original_source', $properties, 'original_source key should exist in properties.' );
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ public function test_get_item_schema() {
$this->assertArrayHasKey( 'modified', $properties, 'modified key should exist in properties.' );
$this->assertArrayHasKey( 'is_custom', $properties, 'is_custom key should exist in properties.' );
$this->assertArrayHasKey( 'parent', $properties, 'Parent key should exist in properties.' );
$this->assertArrayHasKey( 'author_text', $properties, 'Parent key should exist in properties.' );
$this->assertArrayHasKey( 'original_source', $properties, 'Parent key should exist in properties.' );
$this->assertArrayHasKey( 'author_text', $properties, 'author_text key should exist in properties.' );
$this->assertArrayHasKey( 'original_source', $properties, 'original_source key should exist in properties.' );
}

/**
Expand Down

0 comments on commit 55290ed

Please sign in to comment.