Refinement to auto-installed UserSeeder
Background
A coupe of small refinements to the starting UserSeeder
that the installer script adds.
Action Plan / Actions Taken
- chore: Corrects the developer user's name to the normal usage of "Custom D".
- chore: Adds clarifying comment about the need to change this seeded password immediately after deployment/seeding.
Implications
- None
Setup
- None
How to test
- Code review.
- Functional testing probably not required?
- Try and break it!
Closes #490 Closes #491
Summary by CodeRabbit
-
Bug Fixes
- Removed conditional logic related to regulatory compliance checks in the
createCreditApplicationRecord
method. - Removed
RegulatoryComplianceException
class import. - Removed
RegulatoryComplianceException
from the catch block inLinesOfCreditController.php
. - Introduced conditional validation rules and custom error messages based on the
us_bp_launch_2024
feature flag for US addresses inCreditApplicationRequest.php
.
- Removed conditional logic related to regulatory compliance checks in the
-
Tests
- Added the use of
PHPUnit\Framework\Attributes\DataProvider
. - Added new test methods related to credit application records and feature flag states.
- Added data provider attributes to the test methods.
- Added a new method
setUpTestData
and modified test data structure setup.
- Added the use of