Skip to content

Commit

Permalink
Add temporary fix to make the core tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Dec 13, 2023
1 parent 8f411db commit 41478b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/5_1_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
- name: Prepare Redmine source
working-directory: redmine
run: |
sed -i 's/tmp\/test\/plugins/plugins/' 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
rm -f .rubocop*
cp plugins/redmine_base_rspec/spec/support/database-${{ matrix.db }}.yml config/database.yml
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ And finally restart your Redmine instance.
Test status
------------

| Plugin branch | Redmine Version | Test Status |
|---------------|-----------------|-------------------|
| master | 5.1.11 | [![5.1.11][1]][5] |
| master | 4.2.11 | [![4.2.11][2]][5] |
| master | master | [![master][4]][5] |
| Plugin branch | Redmine Version | Test Status |
|---------------|-----------------|--------------------|
| master | 5.1.1 | [![5.1.1][1]][5] |
| master | 4.2.11 | [![4.2.11][2]][5] |
| master | master | [![master][4]][5] |

[1]: https://github.com/nanego/redmine_customize_core_fields/actions/workflows/5_0_6.yml/badge.svg
[1]: https://github.com/nanego/redmine_customize_core_fields/actions/workflows/5_1_1.yml/badge.svg
[2]: https://github.com/nanego/redmine_customize_core_fields/actions/workflows/4_2_11.yml/badge.svg
[4]: https://github.com/nanego/redmine_customize_core_fields/actions/workflows/master.yml/badge.svg
[5]: https://github.com/nanego/redmine_customize_core_fields/actions
Expand Down
6 changes: 3 additions & 3 deletions init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
author_url 'https://github.com/nanego'
requires_redmine_plugin :redmine_base_rspec, :version_or_higher => '0.0.4' if Rails.env.test?
requires_redmine_plugin :redmine_base_deface, :version_or_higher => '0.0.1'
menu :admin_menu, :redmine_customize_core_fields, {:controller => 'core_fields', :action => 'index'}, :after => :custom_fields, :caption => :field_core_fields, html: {class: 'icon'}
menu :admin_menu, :redmine_customize_core_fields, { :controller => 'core_fields', :action => 'index' }, :after => :custom_fields, :caption => :field_core_fields, html: { class: 'icon' }
project_module :customize_core_fields do
permission :update_core_fields, {}
end
settings :default => {'override_issue_form' => 'false',
'display_custom_fields_first' => 'true'},
settings :default => { 'override_issue_form' => 'false',
'display_custom_fields_first' => 'true' },
:partial => 'settings/redmine_plugin_customize_core_fields'
end

0 comments on commit 41478b0

Please sign in to comment.