Hmm, I’m not sure why that line actually needs to be there 😛
I’m surprised this hasn’t tripped anyone up before
ah, this project has injected another class instead of Member...
Hmm, does Injector work differently compared to old
No I don't think so @wmk - but the way the table name is generated from the (instance) classname might be what is impacting you
i.e. database builds with
tempdb.TheCustomMember instead of
tempdb.Member, then attempts to look up
Member because 'injection' is a bit fluid like that.
Weird one in Behat
fails if the user is already logged in as the Login form doesn’t appear if the user is logged in. Perhaps the Context should check if the current user is already logged in and if so don’t try and login again?
- Given I am logged in with "ADMIN" permissions
Sounds like state isn't clearing between tests @wmk 😱
Given is usually part of the background or setup phase... there should be no pre-existing state at that point :/