When upgrading to R2 AdapterMappings.browser is overwritten

Background A test that validated that a user that visited the site with a mobile user agent still get a mime type of “text/html” instead of some wap thing failed. To get the behaviour we’re using the following capabilities node in the AdapterMappings.browser (in the AppBrowser folder) The upgrade So when the site is upgrade …

LinkItemCollection overrides Equals in CMS 6 R2

Some background After an upgrade from CMS 6 R1 to R2 a few unit tests started to fail. After some detective work it seems the common theme of the failing tests were that they involved LinkItemCollection. One test for instance had the following setup in somewhat simplified code: If you’re not familiar with a mocking …