silverstripe-cms/tests/php/Model
kevin-hine-innis bcbeb6d626
FIX SiteTreeLinkTracking_Parser should use the getAnchorsOnPage (#2697)
Currently, the SiteTreeLinkTracking_Parser only checks the page's content for anchors.
As a result, any anchors that have been added or modified by the updateAnchorsOnPage extension in the getAnchorsOnPage method are marked ss-broken.

This change updates SiteTreeLinkTracking_Parser to get the anchors from the getAnchorsOnPage function on SiteTree. This will allow for more consistent RegEx matching and allow the updateAnchorsOnPage extension to be used when checking for broken links.
2021-11-04 09:31:34 +13:00
..
SiteTreeBrokenLinksTest API Implement polymorphic sitetree link tracking (#2123) 2018-04-06 15:53:57 +12:00
themes/virtualpagetest/templates FIX: VirtualPage not using target page's template (fixes #2039) (#2041) 2017-12-06 11:59:30 +13:00
RedirectorPageTest_RedirectExtension.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
RedirectorPageTest.php API phpunit9 support 2021-10-28 10:40:52 +13:00
RedirectorPageTest.yml Move files to new location 2017-08-09 16:58:07 +12:00
SiteTreeActionsTest_Page.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeActionsTest.php Remove assertions for addtocampaign action 2019-02-01 20:20:40 +03:00
SiteTreeActionsTest.yml Move files to new location 2017-08-09 16:58:07 +12:00
SiteTreeBacklinksTest_DOD.php Use short array syntax across the module's codebase 2020-04-19 16:18:01 +12:00
SiteTreeBacklinksTest.php API phpunit9 support 2021-10-28 10:40:52 +13:00
SiteTreeBacklinksTest.yml FIX display recognisable names for dependent content with no title 2019-07-17 15:30:07 +12:00
SiteTreeBacklinksTestContentObject.php Use short array syntax across the module's codebase 2020-04-19 16:18:01 +12:00
SiteTreeBrokenLinksTest.php API phpunit9 support 2021-10-28 10:40:52 +13:00
SiteTreeBrokenLinksTest.yml API Implement polymorphic sitetree link tracking (#2123) 2018-04-06 15:53:57 +12:00
SiteTreeHTMLEditorFieldTest.php API phpunit9 support 2021-10-28 10:40:52 +13:00
SiteTreeHTMLEditorFieldTest.yml Move files to new location 2017-08-09 16:58:07 +12:00
SiteTreeLinkTracking_Extension.php FIX SiteTreeLinkTracking_Parser should use the getAnchorsOnPage (#2697) 2021-11-04 09:31:34 +13:00
SiteTreeLinkTrackingTest.php FIX SiteTreeLinkTracking_Parser should use the getAnchorsOnPage (#2697) 2021-11-04 09:31:34 +13:00
SiteTreePermissionsTest.php API phpunit9 support 2021-10-28 10:40:52 +13:00
SiteTreePermissionsTest.yml Move files to new location 2017-08-09 16:58:07 +12:00
SiteTreeTest_AdminDenied.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_AdminDeniedExtension.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_ClassA.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_ClassB.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_ClassC.php Use short array syntax across the module's codebase 2020-04-19 16:18:01 +12:00
SiteTreeTest_ClassCext.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_ClassD.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_ClassE.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_Conflicted.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_ConflictedController.php Use short array syntax across the module's codebase 2020-04-19 16:18:01 +12:00
SiteTreeTest_DataObject.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_Extension.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_ExtensionA.php API Allow SiteTree::Link to be extended 2017-09-05 08:58:47 +12:00
SiteTreeTest_ExtensionB.php API Allow SiteTree::Link to be extended 2017-09-05 08:58:47 +12:00
SiteTreeTest_LegacyControllerName_Controller.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_LegacyControllerName.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_NotRoot.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_NullHtmlCleaner.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_PageNode.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_PageNodeController.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest_StageStatusInherit.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
SiteTreeTest.php API phpunit9 support 2021-10-28 10:40:52 +13:00
SiteTreeTest.yml Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
VirtualPageTest_ClassA.php Use short array syntax across the module's codebase 2020-04-19 16:18:01 +12:00
VirtualPageTest_ClassAController.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
VirtualPageTest_ClassB.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
VirtualPageTest_ClassC.php Use short array syntax across the module's codebase 2020-04-19 16:18:01 +12:00
VirtualPageTest_NotRoot.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
VirtualPageTest_PageExtension.php Use short array syntax across the module's codebase 2020-04-19 16:18:01 +12:00
VirtualPageTest_PageWithAllowedChildren.php Use short array syntax across the module's codebase 2020-04-19 16:18:01 +12:00
VirtualPageTest_TestDBField.php Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00
VirtualPageTest_VirtualPageSub.php Use short array syntax across the module's codebase 2020-04-19 16:18:01 +12:00
VirtualPageTest.php API phpunit9 support 2021-10-28 10:40:52 +13:00
VirtualPageTest.yml Manual fixes to automatic namespacing 2017-08-09 17:09:28 +12:00