Closed AlexHigginsVS closed 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
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.
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