WordPress.org

Make WordPress Core

Changeset 1306 in tests for trunk/tests/theme/themeDir.php


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

Update tests for [24583]. see #20839.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.