Ticket #26819: 26819.unittest.diff
| File 26819.unittest.diff, 564 bytes (added by , 12 years ago) |
|---|
-
tests/phpunit/tests/formatting/make-link-relative.php
1 <?php 2 class Tests_Formatting_Make_Link_Relative extends WP_UnitTestCase { 3 function tests_make_link_relative() { 4 $input = "http://wordpress.org"; 5 $expected = "/"; 6 $this->assertEquals( $expected, wp_make_link_relative( $input ) ); 7 } 8 } 9 No newline at end of file