summaryrefslogtreecommitdiff
path: root/addons/website_hr_recruitment/tests
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2015-09-04 11:50:30 +0200
committerXavier Morel <xmo@odoo.com>2015-09-04 12:59:27 +0200
commitbd0c6a2b242107be49df6b220da5218eceaf91e3 (patch)
tree231c4f61815333f28567de53a4967877f58d0e3d /addons/website_hr_recruitment/tests
parent4d44b33ffea0358d3c700a85b48e5eae5224af84 (diff)
[FIX] website_crm and website_hr_recruitment tours
* run tours as public users since these screens should be accessible to and used by public users * fix access rights issues in website_crm tour (default value of team_id when creating a crm.lead requiring read access on crm.team, which the public user does not have) * remove duplicated crm.lead field (phone declared as char(size=64) then as char() a few lines below, removed first instance)
Diffstat (limited to 'addons/website_hr_recruitment/tests')
-rw-r--r--addons/website_hr_recruitment/tests/test_website_hr_recruitment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_hr_recruitment/tests/test_website_hr_recruitment.py b/addons/website_hr_recruitment/tests/test_website_hr_recruitment.py
index 96753811766..9cf70411ec3 100644
--- a/addons/website_hr_recruitment/tests/test_website_hr_recruitment.py
+++ b/addons/website_hr_recruitment/tests/test_website_hr_recruitment.py
@@ -4,7 +4,7 @@ import openerp.tests
@openerp.tests.common.post_install(True)
class TestWebsiteHrRecruitmentForm(openerp.tests.HttpCase):
def test_tour(self):
- self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('website_hr_recruitment_tour', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.website_hr_recruitment_tour", login="admin")
+ self.phantom_js("/", "odoo.__DEBUG__.services['web.Tour'].run('website_hr_recruitment_tour', 'test')", "odoo.__DEBUG__.services['web.Tour'].tours.website_hr_recruitment_tour")
# get test cursor to read from same transaction browser is writing to
cr = self.registry.cursor()