backlogs / redmine_backlogs

A Redmine plugin for agile teams
https://backlogs.github.io/www/
GNU General Public License v2.0
773 stars 460 forks source link

workaround of 'rake redmine:plugins:test' failure #1156

Closed fuminori-ido-m closed 2 years ago

fuminori-ido-m commented 2 years ago

rake redmine:plugins:test fails under the following conditions:

  1. redmine_backlogs plugin is added.
  2. some test exist in another plugin

The reason of test failure is because issues.position column became NOT NULL here while redmine/test/fixtures/issues.yml position column is blank. This potential inconsistency leads test failure when at least one test exists.

(When there is no test, fixtures will not load so that no error happen on rake redmine:plugins:test, but it might be rare case.)

This PR overwrites issues.yml to avoid test failure.

fuminori-ido-m commented 2 years ago

Sorry! I posted to another repo; Let me close this PR.