Skip to content

Commit

Permalink
Update CI Config to fix randomly failing tests in Redmine 5.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Mar 19, 2024
1 parent 894a4dc commit 646e941
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/5_1_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ jobs:
- name: Prepare Redmine source
working-directory: redmine
run: |
# Add missing :groups_users fixture to API tests
# Add missing fixtures to API tests
sed -i='' 's/^ fixtures :users/&, :groups_users/' test/integration/api_test/users_test.rb # TODO: remove next line when fixed in Redmine core
sed -i='' 's/^ fixtures(/&:user_preferences,/' test/integration/api_test/issues_test.rb # TODO: remove next line when fixed in Redmine core
# Fix routes broken by Redmine core plugins tests
rm -f test/integration/routing/plugins_test.rb # Fix routing tests # TODO Remove this line when https://www.redmine.org/issues/38707 is fixed
sed -i '/rubocop/d' Gemfile
Expand Down

0 comments on commit 646e941

Please sign in to comment.