Project

General

Profile

Actions

Patch #35727

closed

Add missing fixtures to Redmine::ProjectJumpBoxTest

Added by Yuichi HARADA over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Redmine::ProjectJumpBoxTest has failed.

% RAILS_ENV=test bundle exec rake db:migrate:reset

% RAILS_ENV=test bundle exec rake test TEST=test/unit/lib/redmine/project_jump_box_test.rb
Run options: --seed 29081

# Running:

.F

Failure:
Redmine::ProjectJumpBoxTest#test_should_update_recents_list [test/unit/lib/redmine/project_jump_box_test.rb:134]:
Expected: 2
  Actual: 1

rails test test/unit/lib/redmine/project_jump_box_test.rb:119

F

Failure:
Redmine::ProjectJumpBoxTest#test_should_limit_recently_used_projects [test/unit/lib/redmine/project_jump_box_test.rb:61]:
Expected: 1
  Actual: 0

rails test test/unit/lib/redmine/project_jump_box_test.rb:54

F

Failure:
Redmine::ProjectJumpBoxTest#test_should_record_recently_used_projects_order [test/unit/lib/redmine/project_jump_box_test.rb:71]:
Expected: 2
  Actual: 1

rails test test/unit/lib/redmine/project_jump_box_test.rb:64

....

Finished in 0.942857s, 8.4848 runs/s, 29.6970 assertions/s.
8 runs, 28 assertions, 3 failures, 0 errors, 0 skips

Files

35727.patch (582 Bytes) 35727.patch Yuichi HARADA, 2021-08-10 03:42
Actions

Also available in: Atom PDF