Commit 20af4df25a63fffc493c0fb208d80da783b4c9f1
1 parent
f6ef9a7f
Exists in
master
and in
29 other branches
count products test fix
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
plugins/statistics/test/functional/statistics_plugin_home_controller_test.rb
@@ -76,6 +76,7 @@ class HomeControllerTest < ActionController::TestCase | @@ -76,6 +76,7 @@ class HomeControllerTest < ActionController::TestCase | ||
76 | 76 | ||
77 | should 'display products class in statistics-block-data block' do | 77 | should 'display products class in statistics-block-data block' do |
78 | @block.product_counter = true | 78 | @block.product_counter = true |
79 | + @environment.enable('products_for_enterprises') | ||
79 | @block.save! | 80 | @block.save! |
80 | get :index | 81 | get :index |
81 | 82 |