Make WordPress Core

Changeset 57266


Ignore:
Timestamp:
01/10/2024 09:12:07 PM (9 months ago)
Author:
joedolson
Message:

Tests: Fix tests following r57265.

Update unit tests failing after r57265 changed strings in single post template descriptions. Follow up to [57265].

Props joedolson.
Fixes #60216.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/block-templates/buildBlockTemplateResultFromFile.php

    r56983 r57266  
    2727        $this->assertSame( 'theme', $template->source );
    2828        $this->assertSame( 'Single Posts', $template->title );
    29         $this->assertSame( 'Displays single posts on your website unless a custom template has been applied to that post or a dedicated template exists.', $template->description );
     29        $this->assertSame( 'Displays a single post on your website unless a custom template has been applied to that post or a dedicated template exists.', $template->description );
    3030        $this->assertSame( 'wp_template', $template->type );
    3131        $this->assertEmpty( $template->modified );
     
    6565        $this->assertSame( 'single', $template->slug );
    6666        $this->assertSame( 'Single Posts', $template->title );
    67         $this->assertSame( 'Displays single posts on your website unless a custom template has been applied to that post or a dedicated template exists.', $template->description );
     67        $this->assertSame( 'Displays a single post on your website unless a custom template has been applied to that post or a dedicated template exists.', $template->description );
    6868        $this->assertFalse( $template->is_custom );
    6969    }
Note: See TracChangeset for help on using the changeset viewer.