nothingworksinc / ticketbeast

Back to the lesson videos:
https://course.testdrivenlaravel.com/lessons
552 stars 11 forks source link

Call to undefined method Tests\Feature\ViewConcertListingTest::visit() #24

Closed magedevjosh closed 7 years ago

magedevjosh commented 7 years ago

Hey Adam,

I spun up a new instance of Laravel 5.4 and started the course but hit a wall with the following error:

Error: Call to undefined method Tests\Feature\ViewConcertListingTest::visit()

I dug into the code and found that they have removed the InteractsWithPage class in favor of Laravel Dusk. Should I just roll back to Laravel 5.3?

adamwathan commented 7 years ago

I'd recommend just pulling in this package which brings that stuff back for 5.4:

https://github.com/laravel/browser-kit-testing On Sat, Jan 28, 2017 at 4:37 PM Joshua Romero notifications@github.com wrote:

Hey Adam,

I spun up a new instance of Laravel 5.4 and started the course but hit a wall with the following error:

Error: Call to undefined method Tests\Feature\ViewConcertListingTest::visit()

I dug into the code and found that they have removed the InteractsWithPage class in favor of Laravel Dusk. Should I just roll back to Laravel 5.3?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nothingworksinc/ticketbeast/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/AEH3bAj7Gggd4eryXtB9-D9WeuF3rn1lks5rW7UJgaJpZM4LwoBY .

magedevjosh commented 7 years ago

That did it. Thanks, Adam.