It's ok to design a model that expects User data but you should pass
it to the model from the controller.
What's TDD?
On Sun, Feb 3, 2013 at 9:38 PM, Tony Messias tony...@gmail.com wrote:
Well, I believe it's possible to get the authenticated user from anywhere
using the AuthComponent::user()
test driven development
Am Montag, 4. Februar 2013 22:56:21 UTC+1 schrieb cricket:
It's ok to design a model that expects User data but you should pass
it to the model from the controller.
What's TDD?
On Sun, Feb 3, 2013 at 9:38 PM, Tony Messias ton...@gmail.comjavascript:
wrote:
I've got the same issue on a project I'm working on. Any solutions you
came up with Dylan?
On Monday, August 6, 2012 4:02:15 PM UTC-6, Dylan Jennings wrote:
Hello
I'm currently building a SaaS application using cakePHP. I've worked with
cakePHP before a few times and I'm comfortable with
Well, I believe it's possible to get the authenticated user from anywhere
using the AuthComponent::user() static method (cake 2.x). I tried it here,
and it worked.. but I couldn't test it using TDD, I found it veeery hard..
Could anyone help? How can I test a model that depends on a logged user?
Hello
I'm currently building a SaaS application using cakePHP. I've worked with
cakePHP before a few times and I'm comfortable with how it all works.
So, I have an `accounts` table which holds information about each tenant,
and then a `users` table aswell, which will contain the users for each