Make WordPress Core

Ticket #60358: 60358.diff

File 60358.diff, 2.1 KB (added by david.binda, 16 months ago)
  • tests/phpunit/tests/rest-api/wpRestTemplateAutosavesController.php

     
    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

     
    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        /**