Skip to content

Commit 61e3fb5

Browse files
sjai-odoovlst-odoo
authored andcommitted
[FIX] l10n_ar_pos: fix tests
- use start_tour instead of start_pos_tour.
1 parent a90da16 commit 61e3fb5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

addons/l10n_ar_pos/tests/test_pos_ar.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,9 @@ def setUpClass(cls):
5151
def test_basic_flow_ar(self):
5252
self.product_a.available_in_pos = True
5353
self.product_a.name = "A test product"
54-
self.main_pos_config.open_ui()
55-
self.start_pos_tour('PosARBaseFlow')
54+
self.main_pos_config.with_user(self.pos_user).open_ui()
55+
self.start_tour(
56+
"/pos/ui/%d" % self.main_pos_config.id,
57+
'PosARBaseFlow',
58+
login="pos_user",
59+
)

0 commit comments

Comments
 (0)