brianchandotcom/liferay-portal — pull request #13367 by matethurzo (2013-08-26 10:50:11+00:00)
Title: LPS-38695 Do not increment view counters when importing

Hi Brian,

You've originally asked for a test for this change, if possible. @KocsisDaniel and @mdelapenya continued a conversation about the feasibility, (I was involved on Dániel's side), and they have concluded that it is nearly impossible to write a good test for this. There are several problems with mocking objects when we are using an integration test, but if we would use a unit test we would have to mock up several objects.

Thanks,

Máté