Ticket #60358: 60358.diff
File 60358.diff, 2.1 KB (added by , 16 months ago) |
---|
-
tests/phpunit/tests/rest-api/wpRestTemplateAutosavesController.php
326 326 $this->assertArrayHasKey( 'modified', $properties, 'modified key should exist in properties.' ); 327 327 $this->assertArrayHasKey( 'is_custom', $properties, 'is_custom key should exist in properties.' ); 328 328 $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, ' Parentkey 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.' ); 331 331 } 332 332 333 333 /** -
tests/phpunit/tests/rest-api/wpRestTemplateRevisionsController.php
465 465 $this->assertArrayHasKey( 'modified', $properties, 'modified key should exist in properties.' ); 466 466 $this->assertArrayHasKey( 'is_custom', $properties, 'is_custom key should exist in properties.' ); 467 467 $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, ' Parentkey 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.' ); 470 470 } 471 471 472 472 /**