Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration will now report head and script failures #1857

Merged

Conversation

BenSurgisonGDS
Copy link
Contributor

@BenSurgisonGDS BenSurgisonGDS self-assigned this Dec 19, 2022
@BenSurgisonGDS BenSurgisonGDS force-pushed the migration-script-will-now-report-head-and-script-failures branch from d5b1ac5 to 8ff081c Compare December 19, 2022 14:28
@nataliecarey
Copy link
Contributor

Would it be OK to add a test to avoid this issue reappearing after a refactor please?

Added test to make sure additional step is always called if it exists
@BenSurgisonGDS BenSurgisonGDS force-pushed the migration-script-will-now-report-head-and-script-failures branch from 8ff081c to 1f3dc3e Compare December 19, 2022 15:42
@BenSurgisonGDS
Copy link
Contributor Author

Would it be OK to add a test to avoid this issue reappearing after a refactor please?

New test added to make sure the additional step (deleting head.html and script.html) occurs even when the layout.html has not been changed.

@BenSurgisonGDS BenSurgisonGDS merged commit 523bed7 into main Dec 19, 2022
@BenSurgisonGDS BenSurgisonGDS deleted the migration-script-will-now-report-head-and-script-failures branch December 19, 2022 17:02
BenSurgisonGDS added a commit that referenced this pull request Dec 22, 2022
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.

Migration script does not always migrate app/views/includes/{head, scripts}.html
2 participants