Commit 4f5218304f40d6b16cee20af376f1b1f83576849

Authored by Daniela Feitosa
1 parent 21316947

shooping_cart_plugin: fixed tests

plugins/shopping_cart/test/functional/shopping_cart_plugin_controller_test.rb
... ... @@ -11,6 +11,7 @@ class ShoppingCartPluginControllerTest < ActionController::TestCase
11 11 @request = ActionController::TestRequest.new
12 12 @response = ActionController::TestResponse.new
13 13 @profile = fast_create(Enterprise)
  14 + @profile.contact_email = 'enterprise@noosfero.org';@profile.save
14 15 @product = fast_create(Product, :profile_id => @profile.id)
15 16 end
16 17 attr_reader :profile
... ...