Created
January 17, 2013 04:09
-
-
Save wilr/4553562 to your computer and use it in GitHub Desktop.
Example test to show urlRewriter is broken
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class HTTPisBorkedTest extends SapphireTest { | |
public function testAbsoluteUrls() { | |
// should leave external urls along | |
$this->assertEquals('<a href="http://external.com">', HTTP::absoluteURLs('<a href="http://external.com">')); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment