Skip to content

Normalize test model setup patterns across integration tests#2746

Merged
spawnia merged 3 commits intomasterfrom
chore/unify-test-model-setup
Feb 9, 2026
Merged

Normalize test model setup patterns across integration tests#2746
spawnia merged 3 commits intomasterfrom
chore/unify-test-model-setup

Conversation

@spawnia
Copy link
Collaborator

@spawnia spawnia commented Feb 8, 2026

Summary

  • unify factory/model setup patterns to prefer explicit attribute assignment over create array payloads
  • normalize relation wiring to explicit associate plus save where applicable
  • align setup readability by separating distinct model setup blocks consistently
  • apply these updates across integration tests, including the earlier relation-delete regression areas and the remaining integration suite files

Validation

  • run make
  • all validation steps pass: rector, php-cs-fixer, prettier, phpstan, phpunit
  • phpunit result: OK but there were issues (existing notices/skips/incomplete)

@spawnia spawnia merged commit 4837342 into master Feb 9, 2026
62 checks passed
@spawnia spawnia deleted the chore/unify-test-model-setup branch February 9, 2026 09:51
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.

1 participant