Project

General

Profile

Actions

Patch #18782

closed

Fix ui tests broken by undefined method error

Added by Katsuya HIDAKA about 9 years ago. Updated about 9 years ago.

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

0%

Estimated time:

Description

Run `rake test:ui` on Ruby 2.1.5p273 with trunk@r13854. Then, the following error occurs:

# Running:

....E...E.

Finished in 19.102035s, 0.5235 runs/s, 2.9840 assertions/s.

  1) Error:
Redmine::UiTest::IssuesTest#test_create_issue_with_form_update:
NoMethodError: undefined method `find_all_by' for #<Class:0x007f8f1c66f2d0>
    test/ui/issues_test.rb:63:in `test_create_issue_with_form_update'

  2) Error:
Redmine::UiTest::IssuesTest#test_update_issue_with_form_update:
NoMethodError: undefined method `find_all_by' for #<Class:0x007f8f1c66f2d0>
    test/ui/issues_test.rb:191:in `test_update_issue_with_form_update'

10 runs, 57 assertions, 0 failures, 2 errors, 0 skips

Files

fix-testui-errors-r13854.diff (1.32 KB) fix-testui-errors-r13854.diff Katsuya HIDAKA, 2015-01-08 17:40
Actions #1

Updated by Jean-Philippe Lang about 9 years ago

  • Target version set to 2.6.1
Actions #2

Updated by Jean-Philippe Lang about 9 years ago

  • Category set to Code cleanup/refactoring
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang

Fixed in r13860, thanks for pointing this out.

Actions #3

Updated by Jean-Philippe Lang about 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF