Skip to content

Commit

Permalink
Merge pull request #281 from Tecnativa/12.0-website_sale_require_logi…
Browse files Browse the repository at this point in the history
…n-fix_public_test

[FIX] website_sale_require_login: Fix public user test
  • Loading branch information
pedrobaeza committed Apr 18, 2019
2 parents 6ae8a69 + 2796fc0 commit 8ea6f39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website_sale_require_login/tests/test_checkout.py
Expand Up @@ -2,8 +2,6 @@
import odoo.tests


@odoo.tests.common.at_install(False)
@odoo.tests.common.post_install(True)
class TestUi(odoo.tests.HttpCase):
def run_tour(self, login=None):
self.phantom_js(
Expand All @@ -27,4 +25,7 @@ def test_03_demo_checkout(self):
self.run_tour("demo")

def test_04_public_checkout(self):
# Disable sign up, in case auth_signup is installed
self.env["ir.config_parameter"].set_param(
"auth_signup.invitation_scope", "b2b")
self.run_tour()

0 comments on commit 8ea6f39

Please sign in to comment.