This repository was archived by the owner on Jan 25, 2026. It is now read-only.
Fix unit tests - #6
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes unit tests by adding migration files and configuration from passkey and permissions packages, updating the test workflow, and renaming log files from "laravel.log" to "authkit.log".
Key changes:
- Added database migrations for Spatie's Laravel Permission and Laravel Passkeys packages
- Updated logging configuration to use "authkit.log" naming convention
- Enhanced GitHub Actions workflow with database setup steps and manual trigger option
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
database/migrations/2024_01_01_00004_create_passkeys_table.php |
Adds migration for passkeys table with foreign key to authenticatable users |
database/migrations/2024_01_01_00002_create_permission_tables.php |
Adds migration for Spatie Permission package tables (permissions, roles, and pivot tables) |
config/permission.php |
Adds configuration file for Spatie Permission package with table names, models, and cache settings |
config/logging.php |
Renames log files from "laravel.log" to "authkit.log" and updates string concatenation spacing in papertrail configuration |
.github/workflows/tests.yml |
Adds workflow_dispatch trigger, migration, and database seeding steps before running tests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Include dependencies from passkey and permissions packages, ensure unit tests run correctly, and also . . . . . oh yes. rename the logging file.