summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-23 09:13:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-23 09:13:48 +0000
commit8a1f26617d23584e4ded0717c0f6ca4da559efee (patch)
tree06e5c9d14b0ff01b1cea3a2f1862f028dddc8dc3 /test/unit/user_test.rb
parent436ab284439f65025faf5cd5a60f2f0b2a7cd9d1 (diff)
downloadredmine-8a1f26617d23584e4ded0717c0f6ca4da559efee.tar.gz
redmine-8a1f26617d23584e4ded0717c0f6ca4da559efee.zip
Don't create duplicate wikis in test (#15420).
Patch by George Gensure. git-svn-id: http://svn.redmine.org/redmine/trunk@12317 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index aab7dfc33..cb7c83145 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -344,7 +344,7 @@ class UserTest < ActiveSupport::TestCase
wiki_content = WikiContent.create!(
:text => 'foo',
:author_id => 2,
- :page => WikiPage.create!(:title => 'Foo', :wiki => Wiki.create!(:project_id => 1, :start_page => 'Start'))
+ :page => WikiPage.create!(:title => 'Foo', :wiki => Wiki.create!(:project_id => 3, :start_page => 'Start'))
)
wiki_content.text = 'bar'
assert_difference 'WikiContent::Version.count' do