diff options
Diffstat (limited to 'addons/test_website')
| -rw-r--r-- | addons/test_website/static/tests/tours/json_auth.js | 2 | ||||
| -rw-r--r-- | addons/test_website/tests/test_multi_company.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/test_website/static/tests/tours/json_auth.js b/addons/test_website/static/tests/tours/json_auth.js index 6c4df8e26de..ba89bed4f3c 100644 --- a/addons/test_website/static/tests/tours/json_auth.js +++ b/addons/test_website/static/tests/tours/json_auth.js @@ -19,7 +19,7 @@ tour.register('test_json_auth', { window.location.href = window.location.origin; }, }, { - trigger: 'span:contains(Mitchell Admin)', + trigger: 'span:contains(Mitchell Admin), span:contains(Administrator)', run: function () {}, } ]); diff --git a/addons/test_website/tests/test_multi_company.py b/addons/test_website/tests/test_multi_company.py index 8c9c6859959..1395466ab47 100644 --- a/addons/test_website/tests/test_multi_company.py +++ b/addons/test_website/tests/test_multi_company.py @@ -9,7 +9,7 @@ class TestMultiCompany(HttpCase): def test_company_in_context(self): """ Test website company is set in context """ - website = self.env['website'].browse(1) + website = self.env.ref('website.default_website') company = self.env['res.company'].create({'name': "Adaa"}) website.company_id = company response = self.url_open('/multi_company_website') |
