laracasts / TestDummy

Easy factories for PHP integration testing.
https://laracasts.com/lessons/whats-new-in-testdummy
MIT License
456 stars 80 forks source link

1.2 -> 1.3.2 update #30

Closed AlexHigginsVS closed 10 years ago

AlexHigginsVS commented 10 years ago

Everything works fine on 1.2 but after the update when running the test suite I get this

2) RecipeRepositoryTest::it_returns_a_recipe_from_slug BadMethodCallException: Call to undefined method Illuminate\Database\Query\Builder::boot()

When doing Factory::times(6)->create('App\Recipes\Recipe'); Or $recipe = Factory::create('App\Recipes\Recipe');

My hunch is It's this commit https://github.com/laracasts/TestDummy/commit/53fff1e6b00686560d8fff0514f022f499e760a4?w=0

JeffreyWay commented 10 years ago

Hmm - I wonder why. That method exists...

I'll disable it temporarily, until I figure out why. You can composer update to pull in the revised version.