Re: How to mock a controller

2015-08-25 Thread Sacha Muratori
i recommend you to look up on cakephp book and on stack overflow: http://stackoverflow.com/questions/11152128/cakephp-2-how-to-create-a-mock-in-a-model-test-case On Saturday, August 22, 2015 at 4:14:51 AM UTC+2, Franck Ngako wrote: Hi, I've been giving a try on cakepphp for 2 months now !

Authentication with multiple tables (using myAuthComponent) doesn't work in Cakephp 3.0

2015-08-24 Thread Sacha Muratori
Hello Everyone, Since i've started my project from the analysis and not from coding, i came to diagram models with* 3 tables that need an authentication*. For these reason i don't want to use one 'users' table, but 3 of them: 'clients', 'administrators' and 'employers'. I tried to follow the