Skip to content
Laravel authenication tests
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
README.md
composer.json

README.md

Laravel Auth Tests Module

Laravel has a great command for starting your application of php artisan make:auth.

But this doesn't provide you with any tests for a very important area of your application. Therefore you find yourself writing the same auth tests on each new application you create.

This is where you can use this package to speed up that process.

Installation

composer require paulund/auth-tests --dev

Publish the tests

php artisan vendor:publish

Ensure you're using a sqlite database for testing by using

<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
You can’t perform that action at this time.