Skip to content
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

Does not work with Jeffrey Way's Factory #32

Closed
leekaiwei opened this issue Sep 2, 2013 · 2 comments
Closed

Does not work with Jeffrey Way's Factory #32

leekaiwei opened this issue Sep 2, 2013 · 2 comments

Comments

@leekaiwei
Copy link
Contributor

I am trying to do some testing. In doing so, I am generating random data for a model using Jeffrey Way's helper Factory. However, trying to do so by calling $model = Factory::make('CategoryModel'); generates this error:

{"error":{"type":"ErrorException","message":"call_user_func_array() expects 
parameter 1 to be a valid callback, class 'MongoDB' does not have a method 'getDoctrineDriver'","file":"/var/www/leaf/vendor/jenssegers/mongodb/src/
Jenssegers/Mongodb/Connection.php","line":174}}

His repository is at https://github.com/JeffreyWay/Laravel-Test-Helpers. I wonder if this is fixable?

@jenssegers
Copy link
Contributor

I don't think I will be able to solve this, as doctrine is not used.

@krtrth
Copy link

krtrth commented Jun 25, 2018

is it fixed and how

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants