Skip to content
This repository was archived by the owner on Jan 25, 2026. It is now read-only.

Fix unit tests - #6

Merged
jvjvjv merged 5 commits into
mainfrom
bugfixes/unittest
Jan 6, 2026
Merged

jvjvjv merged 5 commits into
mainfrom
bugfixes/unittest

Conversation

@jvjvjv

@jvjvjv jvjvjv commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Include dependencies from passkey and permissions packages, ensure unit tests run correctly, and also . . . . . oh yes. rename the logging file.

Copilot AI review requested due to automatic review settings January 6, 2026 20:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread database/migrations/2024_01_01_00004_create_passkeys_table.php
Comment thread database/migrations/2024_01_01_00004_create_passkeys_table.php
Comment thread database/migrations/2024_01_01_00004_create_passkeys_table.php
Comment thread .github/workflows/tests.yml Outdated
@jvjvjv jvjvjv self-assigned this Jan 6, 2026
@jvjvjv
jvjvjv merged commit 255fda3 into main Jan 6, 2026
4 checks passed
@jvjvjv
jvjvjv deleted the bugfixes/unittest branch January 6, 2026 21:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants