I know this is not the wanted solution as @NamelessCoder requested a factory class for creating the PageRepository object. But the current solution does not work for me, as calls to constants like PageRepository::DOKTYPE_BE_USER_SECTION are not covered yet.
This one fixes #1749 for me.
I know this is not the wanted solution as @NamelessCoder requested a factory class for creating the PageRepository object. But the current solution does not work for me, as calls to constants like PageRepository::DOKTYPE_BE_USER_SECTION are not covered yet. This one fixes #1749 for me.