This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » eZ Publish 5 Platform » Cannot login in functional test
expandshrink

Cannot login in functional test

Cannot login in functional test

Tuesday 08 April 2014 5:42:26 pm

Hello,

I'm not able to make a login within a Functional Test using the WebTestCase of Symfony. 

Here it is the code I'm using:

When I try to print out the response code, it looks like the current user is always "anonymous" even if I make the login with administrator credentials. 

If I force the admin user within the controller as in the following:

 

the user is logged in.

Any suggestion?

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from