Commit f0d271be authored by Holger Just's avatar Holger Just

Fix failing tests because of missing journal fixtures and indeterministic…

Fix failing tests because of missing journal fixtures and indeterministic behaviour of .find(:first)
parent a1748cd2
......@@ -316,7 +316,7 @@ class MailerTest < ActiveSupport::TestCase
end
def test_wiki_content_added
content = WikiContent.find(:first)
content = WikiContent.find(1)
valid_languages.each do |lang|
Setting.default_language = lang.to_s
assert_difference 'ActionMailer::Base.deliveries.size' do
......@@ -326,7 +326,7 @@ class MailerTest < ActiveSupport::TestCase
end
def test_wiki_content_updated
content = WikiContent.find(:first)
content = WikiContent.find(1)
valid_languages.each do |lang|
Setting.default_language = lang.to_s
assert_difference 'ActionMailer::Base.deliveries.size' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment