Changeset 55993 for trunk/tests/phpunit/tests/block-template-utils.php
- Timestamp:
- 06/23/2023 09:28:10 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/block-template-utils.php
r55992 r55993 102 102 $this->assertSame( 'Description of my template', $template->description ); 103 103 $this->assertSame( 'wp_template', $template->type ); 104 $this->assertSame( self::$template_post->post_modified, $template->modified );104 $this->assertSame( self::$template_post->post_modified, $template->modified, 'Template result properties match' ); 105 105 106 106 // Test template parts. … … 119 119 $this->assertSame( 'wp_template_part', $template_part->type ); 120 120 $this->assertSame( WP_TEMPLATE_PART_AREA_HEADER, $template_part->area ); 121 $this->assertSame( self::$template_part_post->post_modified, $template ->modified);121 $this->assertSame( self::$template_part_post->post_modified, $template_part->modified, 'Template part result properties match' ); 122 122 } 123 123
Note: See TracChangeset
for help on using the changeset viewer.