Actions
Patch #32444
closedAdd missing fixture to Redmine::WikiFormatting::MacrosTest
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Redmine::WikiFormatting::MacrosTest#test_issue_macro_should_render_link_to_issue has failed.
$ RAILS_ENV=test bundle exec rake db:migrate:reset $ RAILS_ENV=test bundle exec rake test TEST=test/unit/lib/redmine/wiki_formatting/macros_test.rb Run options: --seed 63852 # Running: ....................F Failure: Redmine::WikiFormatting::MacrosTest#test_issue_macro_should_render_link_to_issue [test/unit/lib/redmine/wiki_formatting/macros_test.rb:414]: --- expected +++ actual @@ -1 +1 @@ -"<p><a class=\"issue tracker-1 status-1 priority-4 priority-lowest\" href=\"/issues/1\">Bug #1</a>: Cannot print recipes</p>" +"<p><a class=\"issue tracker-1 status-1 \" href=\"/issues/1\">Bug #1</a>: Cannot print recipes</p>" bin/rails test test/unit/lib/redmine/wiki_formatting/macros_test.rb:412 ........................ Finished in 1.200809s, 37.4747 runs/s, 60.7923 assertions/s. 45 runs, 73 assertions, 1 failures, 0 errors, 0 skips
I think that because the fixtures not enough.
diff --git a/test/unit/lib/redmine/wiki_formatting/macros_test.rb b/test/unit/lib/redmine/wiki_formatting/macros_test.rb
index 208c0157a..ceda727c8 100644
--- a/test/unit/lib/redmine/wiki_formatting/macros_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/macros_test.rb
@@ -33,7 +33,7 @@ class Redmine::WikiFormatting::MacrosTest < Redmine::HelperTest
:versions, :documents,
:wikis, :wiki_pages, :wiki_contents,
:boards, :messages,
- :attachments
+ :attachments, :enumerations
def setup
super
Actions