Make WordPress Core


Ignore:
Timestamp:
06/09/2014 03:58:16 PM (9 years ago)
Author:
wonderboymusic
Message:

Update unit tests to reflect:

  • [28673] - title attributes are no longer expected to be present in some assertions
  • [28704] - Fix Declaration of Tests_Canonical_HTTPS::test() should be compatible with Tests_Canonical::test($test_url, $expected, $ticket = 0)
  • [28679] - Add @expectedDeprecated get_all_category_ids
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/themeDir.php

    r25409 r28706  
    5656        $this->assertEquals( 'WordPress Default', $theme['Title'] );
    5757        $this->assertEquals( 'The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.', $theme['Description'] );
    58         $this->assertEquals( '<a href="http://binarybonsai.com/" title="Visit author homepage">Michael Heilemann</a>', $theme['Author'] );
     58        $this->assertEquals( '<a href="http://binarybonsai.com/">Michael Heilemann</a>', $theme['Author'] );
    5959        $this->assertEquals( '1.6', $theme['Version'] );
    6060        $this->assertEquals( 'default', $theme['Template'] );
     
    122122        $this->assertEquals( 'Stylesheet Only', $theme['Title'] );
    123123        $this->assertEquals( 'A three-column widget-ready theme in dark blue.', $theme['Description'] );
    124         $this->assertEquals( '<a href="http://www.example.com/" title="Visit author homepage">Henry Crun</a>', $theme['Author'] );
     124        $this->assertEquals( '<a href="http://www.example.com/">Henry Crun</a>', $theme['Author'] );
    125125        $this->assertEquals( '1.0', $theme['Version'] );
    126126        $this->assertEquals( 'sandbox', $theme['Template'] );
     
    206206        $this->assertEquals( 'http://example.org/', $theme_data['URI'] );
    207207        $this->assertEquals( 'An example theme', $theme_data['Description'] );
    208         $this->assertEquals( '<a href="http://example.com/" title="Visit author homepage">Minnie Bannister</a>', $theme_data['Author'] );
     208        $this->assertEquals( '<a href="http://example.com/">Minnie Bannister</a>', $theme_data['Author'] );
    209209        $this->assertEquals( 'http://example.com/', $theme_data['AuthorURI'] );
    210210        $this->assertEquals( '1.3', $theme_data['Version'] );
     
    225225        $this->assertEquals( 'http://example.org/', $theme_data['URI'] );
    226226        $this->assertEquals( 'An example theme in a sub directory', $theme_data['Description'] );
    227         $this->assertEquals( '<a href="http://wordpress.org/" title="Visit author homepage">Mr. WordPress</a>', $theme_data['Author'] );
     227        $this->assertEquals( '<a href="http://wordpress.org/">Mr. WordPress</a>', $theme_data['Author'] );
    228228        $this->assertEquals( 'http://wordpress.org/', $theme_data['AuthorURI'] );
    229229        $this->assertEquals( '0.1', $theme_data['Version'] );
Note: See TracChangeset for help on using the changeset viewer.