Changeset 48937 for trunk/tests/phpunit/tests/formatting/SanitizeTitle.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/SanitizeTitle.php
r46586 r48937 8 8 $input = 'Captain <strong>Awesome</strong>'; 9 9 $expected = 'captain-awesome'; 10 $this->assert Equals( $expected, sanitize_title( $input ) );10 $this->assertSame( $expected, sanitize_title( $input ) ); 11 11 } 12 12 … … 14 14 $input = '<strong></strong>'; 15 15 $fallback = 'Captain Awesome'; 16 $this->assert Equals( $fallback, sanitize_title( $input, $fallback ) );16 $this->assertSame( $fallback, sanitize_title( $input, $fallback ) ); 17 17 } 18 18 }
Note: See TracChangeset
for help on using the changeset viewer.