jeudi 5 novembre 2015

How do I set laravel test to go to site name instead of locahost

I am trying to write some tests for an application. I have the server set up on MAMP going to dev.myappnamehere.com.

When I run a test (based off of Laracasts Integrated) it fails because it is looking for the route

 http://localhost/p/profile

But what it needs to go to is

 http://ift.tt/1PpGxCY

How can I change that so it does not default to looking for the localhost and instead goes to the correct path?

I attempted to change this in the test but got nowhere and I was unable to located an answer through googling.

Aucun commentaire:

Enregistrer un commentaire