Tests run in-memory SQLite database, no external database setup is required

php artisan test

1. Dashboard Test

test('Guests are redirected to the login page', function () 
test('Authenticated users can visit the dashboard', function ()

2. User Test

// View merchant page
test('Authenticated user can access Merchants list page', function ()
test('Guests cannot access Merchants list page', function () 

// View note page
test('Authenticated user can access Notes list page', function ()
test('Guests cannot access Notes list page', function ()

3. Note Test

// GET notes
test('Authenticated user can view merchant notes', function ()
test('Unauthenticated user cannot view merchant notes', function ()

// POST note
test('Authenticated user can create note', function () 
test('Unauthenticated user cannot create a note', function () 

// PUT note
test('Authenticated user as creator can update note', function ()
test('Authenticated user not creator cannot update note', function ()
test('Unauthenticated user cannot update a note', function ()

// DELETE note
test('Authenticated user as creator can delete note', function ()
test('Authenticated user not creator cannot delete note', function () 
test('Unauthenticated user cannot delete a note', function ()