On Thu, May 15, 2014 at 5:41 AM, Patrik M <[email protected]>
wrote:
> and in setup
>
> userHelper.setEnvAttributes(envAttr).setEnvAuthDomain("example.com").
> setEnvEmail("[email protected]").setEnvIsAdmin(false).setEnvIsLoggedIn(true
> );
> UserService userService = UserServiceFactory.getUserService();
>
> userService.isUserLoggedIn()
>
> This always returns false when running JUnit-test
>
Does the Users service correctly provide other detail about the test user?
For instance, if you call *.getCurrentUser().getEmail()* do you get
back *[email protected]
<[email protected]>*?
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL
App Engine Code Samples: http://www.learntogoogleit.com
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.