mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Set proper default language.
git-svn-id: http://svn.redmine.org/redmine/trunk@13914 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c686912de5
commit
e3ee940745
@ -95,7 +95,7 @@ class WikiContentTest < ActiveSupport::TestCase
|
|||||||
content = @page.content
|
content = @page.content
|
||||||
content.text = "My new content"
|
content.text = "My new content"
|
||||||
|
|
||||||
with_settings :notified_events => %w(wiki_content_updated) do
|
with_settings :notified_events => %w(wiki_content_updated), :default_language => 'en' do
|
||||||
assert content.save
|
assert content.save
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user