-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot define model #427
Comments
Is codeception requiring the file? |
Which file exactly. It is requiring the factory and it is throwing the exception when I call $fm->define(). |
Hi @StefanGramadnikov ! Did you get any further help on this? I am facing a similar issue. |
the same issue with me, I am implementing this repo for Codeigniter 3.x. when I define a Model, after run a testcase It throw "The model definition 'User' is undefined" |
same issue |
Did any of you the solution? I have the same issue trying to integrate Codeception in ZendExpressive. |
I'm using ZF2 framework and have similar issue |
Hi,
I'm using codeception and symfony 2.8 with doctrine 2. I'm writing unit tests with codeception and I want to pre load some data with Factory Muffin, but I'm getting stuck. Here is my setup:
note: I have installed factory muffin and the faker through composer
My problem is that when I run the tests I get ->
I was trying to debug it and saw that the method define in FactoryMuffin.php is being called two times and I couldn't figure out why. The second time is where it throws the exception.
If I try $fm->make instead of define I get
Can you please tell me if I'm doing something wrong or check if there is some mistake in the code.
If you need more info about my configuration I'll be in touch.
Thank you
The text was updated successfully, but these errors were encountered: