Hi *,
I am failing to understand what the idea behind testSavePage() was.
https://github.com/gatein/gatein-portal/blob/master/component/portal/src/...
I'd expect a call to some kind of back end savePage() method in it and
compare the state of the system before and after. What I see there is
just checking if the state of some page loaded from backend corresponds
to some expected values.
Am I missing something or is the test simply wrong from the
methodological point of view?
Context:
I am adding some new attributes to page
(
https://community.jboss.org/wiki/RestrictedPageEditor) and I need to
test their saving and loading.
Thanks,
Peter