Support the ongoing development of Laravel.io →
Configuration Database Testing

Hello there. I've been struggling for hours and hours, searching all over google on how to use Mink's goutte options. I am trying to implement's @JeffreyWay 's video on acceptance testing.

The thing is, when I use localhost:8000 with 'php artisan serve', I get the result in the first screenshot. The problem is that I use vagrant and I cannot access my db this way. http://i.imgur.com/UGm0b83.png?1

http://i.imgur.com/fwi6qBU.png?1

When I use the '192.168.33.10.xip.io', I get the result in the second picture which is kind of the result I get when I don't use guzzle's options.

http://i.imgur.com/WKKWfqv.png?1

http://i.imgur.com/Q1MQ48n.png?1

Any ideas how I can access my vagrant's db using vagrant's ip?

Thanks in advance.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

harris21 harris21 Joined 2 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.