Make WordPress Core

Changeset 1306 in tests


Ignore:
Timestamp:
07/09/2013 04:55:31 AM (13 years ago)
Author:
nacin
Message:

Update tests for [24583]. see #20839.

Location:
trunk/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/admin/includesPlugin.php

    r1203 r1306  
    1010                $default_headers = array(
    1111                        'Name' => 'Hello Dolly',
    12                         'Title' => '<a href="http://wordpress.org/#" title="Visit plugin homepage" target="_blank">Hello Dolly</a>',
     12                        'Title' => '<a href="http://wordpress.org/#" title="Visit plugin homepage">Hello Dolly</a>',
    1313                        'PluginURI' => 'http://wordpress.org/#',
    14                         'Description' => 'This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from Hello, Dolly in the upper right of your admin screen on every page. <cite>By <a href="http://ma.tt/" title="Visit author homepage" target="_blank">Matt Mullenweg</a>.</cite>',
    15                         'Author' => '<a href="http://ma.tt/" title="Visit author homepage" target="_blank">Matt Mullenweg</a>',
     14                        'Description' => 'This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from Hello, Dolly in the upper right of your admin screen on every page. <cite>By <a href="http://ma.tt/" title="Visit author homepage">Matt Mullenweg</a>.</cite>',
     15                        'Author' => '<a href="http://ma.tt/" title="Visit author homepage">Matt Mullenweg</a>',
    1616                        'AuthorURI' => 'http://ma.tt/',
    1717                        'Version' => '1.5.1',
  • trunk/tests/theme/themeDir.php

    r1203 r1306  
    5151                $this->assertEquals( 'WordPress Default', $theme['Title'] );
    5252                $this->assertEquals( 'The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.', $theme['Description'] );
    53                 $this->assertEquals( '<a href="http://binarybonsai.com/" title="Visit author homepage" target="_blank">Michael Heilemann</a>', $theme['Author'] );
     53                $this->assertEquals( '<a href="http://binarybonsai.com/" title="Visit author homepage">Michael Heilemann</a>', $theme['Author'] );
    5454                $this->assertEquals( '1.6', $theme['Version'] );
    5555                $this->assertEquals( 'default', $theme['Template'] );
     
    104104                $this->assertEquals( 'Stylesheet Only', $theme['Title'] );
    105105                $this->assertEquals( 'A three-column widget-ready theme in dark blue.', $theme['Description'] );
    106                 $this->assertEquals( '<a href="http://www.example.com/" title="Visit author homepage" target="_blank">Henry Crun</a>', $theme['Author'] );
     106                $this->assertEquals( '<a href="http://www.example.com/" title="Visit author homepage">Henry Crun</a>', $theme['Author'] );
    107107                $this->assertEquals( '1.0', $theme['Version'] );
    108108                $this->assertEquals( 'sandbox', $theme['Template'] );
     
    175175                $this->assertEquals( 'http://example.org/', $theme_data['URI'] );
    176176                $this->assertEquals( 'An example theme', $theme_data['Description'] );
    177                 $this->assertEquals( '<a href="http://example.com/" title="Visit author homepage" target="_blank">Minnie Bannister</a>', $theme_data['Author'] );
     177                $this->assertEquals( '<a href="http://example.com/" title="Visit author homepage">Minnie Bannister</a>', $theme_data['Author'] );
    178178                $this->assertEquals( 'http://example.com/', $theme_data['AuthorURI'] );
    179179                $this->assertEquals( '1.3', $theme_data['Version'] );
     
    191191                $this->assertEquals( 'http://example.org/', $theme_data['URI'] );
    192192                $this->assertEquals( 'An example theme in a sub directory', $theme_data['Description'] );
    193                 $this->assertEquals( '<a href="http://wordpress.org/" title="Visit author homepage" target="_blank">Mr. WordPress</a>', $theme_data['Author'] );
     193                $this->assertEquals( '<a href="http://wordpress.org/" title="Visit author homepage">Mr. WordPress</a>', $theme_data['Author'] );
    194194                $this->assertEquals( 'http://wordpress.org/', $theme_data['AuthorURI'] );
    195195                $this->assertEquals( '0.1', $theme_data['Version'] );
Note: See TracChangeset for help on using the changeset viewer.