Skip to content

Fix undetected broken tests because of missing dependencies#8050

Merged
leio10 merged 2 commits intodevelopfrom
fix/add-missing-meeting-dependencies
May 24, 2021
Merged

Fix undetected broken tests because of missing dependencies#8050
leio10 merged 2 commits intodevelopfrom
fix/add-missing-meeting-dependencies

Conversation

@leio10
Copy link
Copy Markdown
Contributor

@leio10 leio10 commented May 24, 2021

🎩 What? Why?

After merging the PR #7893 two tests started to fail. This was because there were some missing dependencies between modules, so after some changes in the decidim-meetings module, not all the affected tests were executed.

On one hand, there is a dev dependency from decidim-participatory_processes to decidim-meetings. This problem was easily fixed adding the dependency to the .gemspec file.

The other dependency is a bit trickier. There is a dev dependency from decidim-core to many other modules (accountability, elections, meetings, proposals) to run the open data tests. In this case, add those dev dependencies to decidim-core would force all PRs to run almost all the tests. So, in this case, I just fixed the broken test, and we will have to move these tests to each module, to eliminate the need to add those dependencies.

📌 Related Issues

@leio10 leio10 force-pushed the fix/add-missing-meeting-dependencies branch from 4021017 to 44a264a Compare May 24, 2021 19:35
@leio10 leio10 merged commit e32191e into develop May 24, 2021
@leio10 leio10 deleted the fix/add-missing-meeting-dependencies branch May 24, 2021 20:09
entantoencuanto added a commit that referenced this pull request May 31, 2021
* develop: (59 commits)
  Update supported versions in docs (#8079)
  Meetings merge minutes and close actions (#7968)
  Meeting calendars providers (#7944)
  Fix broken test on meetings after merging PR without rebase (#8076)
  Show participants list in meetings (#7933)
  Security feature external link warning (#7397)
  Add missing tests for scope types admin page (#8053)
  Use symbols for polymorphic route arguments (#8052)
  Mockup design for Participation statistics tables in Votings (#7879)
  Fix boolean fields for .reported? and .hidden? which is nil if no report exists (#7990)
  Fix redirects broken by Terms and Conditions redirect (#8036)
  Amend CSS overwritting (#8007)
  New Crowdin updates (#8048)
  Fix undetected broken tests because of missing dependencies (#8050)
  Validate results by Monitoring Committee Members (#7899)
  Electoral certificate validation by Monitoring Committee Members (#7871)
  Publish and unpublish a meeting (#7893)
  New Crowdin updates (#8005)
  Polling station closure attach the physical electoral closure certificate (#7929)
  Fix attachment title migration generating possibly invalid values (#8020)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant