- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getCommentAuthorUrlLink.php
r46586 r48937 28 28 $url_link = get_comment_author_url_link(); 29 29 30 $this->assert Equals( "<a href='' rel='external'></a>", $url_link );30 $this->assertSame( "<a href='' rel='external'></a>", $url_link ); 31 31 } 32 32 … … 37 37 $url_link = get_comment_author_url_link(); 38 38 $link = $this->parseCommentAuthorUrl( $comment ); 39 $this->assert Equals( $link, $url_link );39 $this->assertSame( $link, $url_link ); 40 40 } 41 41 … … 45 45 $url_link = get_comment_author_url_link( '', '', '', $comment ); 46 46 $link = $this->parseCommentAuthorUrl( $comment ); 47 $this->assert Equals( $link, $url_link );47 $this->assertSame( $link, $url_link ); 48 48 } 49 49 … … 53 53 $url_link = get_comment_author_url_link( 'Burrito', '', '', $comment ); 54 54 $link = $this->parseCommentAuthorUrl( $comment, 'Burrito' ); 55 $this->assert Equals( $link, $url_link );55 $this->assertSame( $link, $url_link ); 56 56 } 57 57 … … 61 61 $url_link = get_comment_author_url_link( 'Burrito', 'I would love a ', '', $comment ); 62 62 $link = 'I would love a ' . $this->parseCommentAuthorUrl( $comment, 'Burrito' ); 63 $this->assert Equals( $link, $url_link );63 $this->assertSame( $link, $url_link ); 64 64 } 65 65 … … 69 69 $url_link = get_comment_author_url_link( 'Burrito', '', ' is my favorite word.', $comment ); 70 70 $link = $this->parseCommentAuthorUrl( $comment, 'Burrito' ) . ' is my favorite word.'; 71 $this->assert Equals( $link, $url_link );71 $this->assertSame( $link, $url_link ); 72 72 } 73 73 … … 77 77 $url_link = get_comment_author_url_link( 'Burrito', 'I would love a ', ' right now.', $comment ); 78 78 $link = 'I would love a ' . $this->parseCommentAuthorUrl( $comment, 'Burrito' ) . ' right now.'; 79 $this->assert Equals( $link, $url_link );79 $this->assertSame( $link, $url_link ); 80 80 } 81 81 }
Note: See TracChangeset
for help on using the changeset viewer.