Это видео недоступно.
Сожалеем об этом.

Laravel Dusk Tutorials #2 : Test Authentication (Login and Logout) using Dusk

Поделиться
HTML-код
  • Опубликовано: 14 авг 2024
  • In this tutorial we will cover how we can assert the following using Laravel Dusk
    - Assert that user can login into the application.
    - Assert that user can logout of the application.
    For Full Laravel Dusk Course - You can enroll to my course on Udemy www.udemy.com/... (60% discount using this link)

Комментарии • 4

  • @Alan.livingston
    @Alan.livingston 3 года назад +1

    Good demo. Nice work..

  • @srikarthick7958
    @srikarthick7958 Год назад

    clear explanation thanks bro

  • @free2idol1
    @free2idol1 Год назад +1

    how about using loginAs() with sanctum as guard? is that possible? Reading through the source code I noticed that it only supports session authentication, as the login() at Laravel\Dusk\Http\Controllers\UserController show this code: Auth::guard($guard)->login($user);
    //login() is only available in SessionGuard

  • @issaissifou4959
    @issaissifou4959 3 года назад +1

    Thank you