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

Can't use Factory inside Selenium Tests #132

Open
xoco70 opened this issue Mar 10, 2016 · 0 comments
Open

Can't use Factory inside Selenium Tests #132

xoco70 opened this issue Mar 10, 2016 · 0 comments

Comments

@xoco70
Copy link

xoco70 commented Mar 10, 2016

When I extend Selenium, I can't make fake object.

If I try to do:

$user = factory(RH\Person::class)->create();

I will get

PHP Fatal error: Call to a member function make() on null in /home/vagrant/RH/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 62

I guess this is because it never instantiates a laravel application instance.

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

1 participant