mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Temporarily disabled nested url specific cases inTranslatableTest->testAlternateGetByLink(), unclear functionality requirements (from r99350)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102856 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c1f227b5c7
commit
76d57b648d
@ -874,11 +874,15 @@ class TranslatableTest extends FunctionalTest {
|
||||
'Grandchild pages can be found.'
|
||||
);
|
||||
|
||||
$this->assertEquals (
|
||||
$child->ID,
|
||||
SiteTree::get_by_link($parentTranslation->Link($child->URLSegment))->ID,
|
||||
'Links can be made up of multiple languages'
|
||||
);
|
||||
// TODO Re-enable test after clarifying with ajshort (see r88503).
|
||||
// Its unclear if this is valid behaviour, and/or necessary for translated nested URLs
|
||||
// to work properly
|
||||
//
|
||||
// $this->assertEquals (
|
||||
// $child->ID,
|
||||
// SiteTree::get_by_link($parentTranslation->Link($child->URLSegment))->ID,
|
||||
// 'Links can be made up of multiple languages'
|
||||
// );
|
||||
}
|
||||
|
||||
public function testSiteTreeGetByLinkFindsTranslationWithoutLocale() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user