Commit 609c94544a5ae37c1f06efb8549b01b134b3d553
1 parent
033ff0f5
Exists in
fix_sign_up_form
comment forced start in install
Showing
2 changed files
with
5 additions
and
4 deletions
Show diff stats
plugins/elasticsearch/install.rb
plugins/elasticsearch/test/api/elasticsearch_plugin_entities_test.rb
@@ -9,8 +9,9 @@ class ElasticsearchPluginEntitiesTest < ActiveSupport::TestCase | @@ -9,8 +9,9 @@ class ElasticsearchPluginEntitiesTest < ActiveSupport::TestCase | ||
9 | end | 9 | end |
10 | 10 | ||
11 | def create_instances | 11 | def create_instances |
12 | + Article.delete_all | ||
12 | user = create_user "sample person", environment_id: 1 | 13 | user = create_user "sample person", environment_id: 1 |
13 | - | 14 | + |
14 | fast_create Community, name: "sample community", created_at: 10.days.ago,updated_at: 5.days.ago, environment_id: 1 | 15 | fast_create Community, name: "sample community", created_at: 10.days.ago,updated_at: 5.days.ago, environment_id: 1 |
15 | 16 | ||
16 | fast_create UploadedFile, name: "sample uploadedfile", created_at: 3.days.ago, updated_at: 1.days.ago, author_id: user.person.id, abstract: "sample abstract", profile_id: user.person.id | 17 | fast_create UploadedFile, name: "sample uploadedfile", created_at: 3.days.ago, updated_at: 1.days.ago, author_id: user.person.id, abstract: "sample abstract", profile_id: user.person.id |