I have two communities with custom login controllers which I want to test.
I am attempting to execute login as described here, but site.login just returns null. Is there a missing piece, like how do you specify which actual portal/site/community you are logging into?
edit: I am not using
seeAllData flag though. Is that mandatory?