Skip to content

Conversation

@RGO230
Copy link
Contributor

@RGO230 RGO230 commented Nov 19, 2025

No description provided.

Copy link
Contributor

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 the Nova test dump file naming convention to use a simpler, more consistent approach. Instead of generating dump files with complex names like nova_welcome_bonus_resource_dump.sql, the system now uses the simple dump.sql naming pattern inherited from the parent AbstractTestsGenerator class.

  • Removed the getDumpName() method override from NovaTestGenerator class
  • Updated all test assertions to expect the simplified dump.sql filename instead of entity-specific dump names
  • Aligned Nova test generator behavior with the standard test generator naming convention

Reviewed changes

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

File Description
src/Generators/NovaTestGenerator.php Removed the getDumpName() method override to use parent class's simple dump.sql naming convention
tests/NovaTestGeneratorTest.php Updated test assertions to expect dump.sql instead of nova_welcome_bonus_resource_dump.sql
tests/CommandTest.php Updated test assertions to expect dump.sql instead of nova_post_resource_dump.sql and nova_post_dump.sql

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DenTray DenTray merged commit 3594fb7 into master Nov 24, 2025
10 checks passed
@DenTray DenTray deleted the 140-use-NovaResource-class-in-NovaTestGenerator-instead-of-Model branch November 24, 2025 02:17
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