Skip to content

Commit 55290ed

Browse files
committed
Tests: Update incorrect assertion message added in [57366].
Props david.binda. Fixes #60358. git-svn-id: https://develop.svn.wordpress.org/trunk@57710 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 716cf66 commit 55290ed

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/phpunit/tests/rest-api/wpRestTemplateAutosavesController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ public function test_get_item_schema() {
326326
$this->assertArrayHasKey( 'modified', $properties, 'modified key should exist in properties.' );
327327
$this->assertArrayHasKey( 'is_custom', $properties, 'is_custom key should exist in properties.' );
328328
$this->assertArrayHasKey( 'parent', $properties, 'Parent key should exist in properties.' );
329-
$this->assertArrayHasKey( 'author_text', $properties, 'Parent key should exist in properties.' );
330-
$this->assertArrayHasKey( 'original_source', $properties, 'Parent key should exist in properties.' );
329+
$this->assertArrayHasKey( 'author_text', $properties, 'author_text key should exist in properties.' );
330+
$this->assertArrayHasKey( 'original_source', $properties, 'original_source key should exist in properties.' );
331331
}
332332

333333
/**

tests/phpunit/tests/rest-api/wpRestTemplateRevisionsController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ public function test_get_item_schema() {
465465
$this->assertArrayHasKey( 'modified', $properties, 'modified key should exist in properties.' );
466466
$this->assertArrayHasKey( 'is_custom', $properties, 'is_custom key should exist in properties.' );
467467
$this->assertArrayHasKey( 'parent', $properties, 'Parent key should exist in properties.' );
468-
$this->assertArrayHasKey( 'author_text', $properties, 'Parent key should exist in properties.' );
469-
$this->assertArrayHasKey( 'original_source', $properties, 'Parent key should exist in properties.' );
468+
$this->assertArrayHasKey( 'author_text', $properties, 'author_text key should exist in properties.' );
469+
$this->assertArrayHasKey( 'original_source', $properties, 'original_source key should exist in properties.' );
470470
}
471471

472472
/**

0 commit comments

Comments
 (0)