Support the ongoing development of Laravel.io →
posted 9 years ago
Testing
Last updated 2 years ago.
0

Just to check, did you try opening up '/' in the browser?(did it return 200) Check also your php artisan routes if that route is listed there.

0

Thank you, the http requests is solved after configured php path in phpstorm.

other problem is, it give:

Method Mockery_0_Illuminate_Auth_AuthManager::user() does not exist on this mock object

when i use

Auth::shouldReceive('attempt')->once()->with(['username' => Input::get('username'),
                                                    'password' => Input::get('password')], true)->andReturn(true);

How is that!

Thanks

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

LaraDev15 laradev15 Joined 2 May 2015

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.

© 2024 Laravel.io - All rights reserved.