Make WordPress Core


Ignore:
Timestamp:
04/19/2023 02:49:51 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Tests: Correct the expected quotes in get_comment_author_url_link() tests.

Follow-up to [55660].

See #57839.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/comment/getCommentAuthorUrlLink.php

    r53863 r55661  
    2121        }
    2222        return sprintf(
    23             '<a href=\'%s\' rel=\'external\'>%s</a>',
     23            '<a href="%s" rel="external">%s</a>',
    2424            $comment->comment_author_url,
    2525            $linktext
     
    3030        $url_link = get_comment_author_url_link();
    3131
    32         $this->assertSame( "<a href='' rel='external'></a>", $url_link );
     32        $this->assertSame( '<a href="" rel="external"></a>', $url_link );
    3333    }
    3434
Note: See TracChangeset for help on using the changeset viewer.