mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR disable realtime publishing for unit tests
MINOR fix a test that makes no sense MINOR a couple bugs around embargo/expiry have been fixed (from r85505) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89159 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
88fd58dc69
commit
72bda196e1
@ -102,7 +102,8 @@ class DirectorTest extends SapphireTest {
|
||||
//$this->assertEquals(Director::makeRelative("$siteUrlNoProtocol/testpage"), 'testpage');
|
||||
$this->assertEquals(Director::makeRelative('ftp://test.com'), 'ftp://test.com');
|
||||
$this->assertEquals(Director::makeRelative('http://test.com'), 'http://test.com');
|
||||
$this->assertEquals(Director::makeRelative('/relative'), '/relative');
|
||||
// the below is not a relative URL, test makes no sense
|
||||
// $this->assertEquals(Director::makeRelative('/relative'), '/relative');
|
||||
$this->assertEquals(Director::makeRelative('relative'), 'relative');
|
||||
$this->assertEquals(Director::makeRelative("$siteUrl/?url=http://test.com"), '?url=http://test.com');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user