Skip to content

Conversation

neellii
Copy link

@neellii neellii commented Sep 1, 2025

@coveralls
Copy link

Pull Request Test Coverage Report for Build 17368755769

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.123%

Totals Coverage Status
Change from base Build 17198213954: 0.0%
Covered Lines: 226
Relevant Lines: 228

💛 - Coveralls

Copy link
Contributor

@Copilot Copilot AI left a comment

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 refactors Laravel migration files to use the App facade helper instead of the config() helper for environment checking. The change standardizes how environment detection is performed in default user migrations.

  • Replaces config('app.env') !== 'testing' with !App::environment('testing')
  • Updates both test fixture and template files to use the App facade consistently

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/fixtures/InitCommandTest/migration.php Updates test fixture to use App facade for environment checking
resources/views/add_default_user.blade.php Updates migration template to use App facade for environment checking

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@DenTray DenTray merged commit 05f6b77 into main Sep 2, 2025
3 checks passed
@DenTray DenTray deleted the prd-1801-user-migration-fix branch September 2, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants