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

error for Factory::attributeFor("Model") #47

Open
mishbah opened this issue Dec 2, 2013 · 0 comments
Open

error for Factory::attributeFor("Model") #47

mishbah opened this issue Dec 2, 2013 · 0 comments

Comments

@mishbah
Copy link

mishbah commented Dec 2, 2013

I use this code (and I have Kontakan class for model)

    public function testBasicExample()
    {
        $kontakan = Factory::attributeFor('Kontakan');
    }

and when I run phpunit, I got this error

ErrorException: Argument 2 passed to Way\Tests\Factory::fire() must be an array, string given, called in /var/www/followup/vendor/way/laravel-test-helpers/src/Way/Tests/Factory.php on line 375 and defined
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