summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2019-11-04 16:35:41 +0100
committerYannick Tivisse <yti@odoo.com>2019-11-05 13:08:03 +0100
commit4a9ba5ad099261a283db034dcaff22e301e7dda7 (patch)
tree98777df52315e70e5befff26b52e0b636bd7d748
parentf9381e0f36edc580be3eb485d667489c278dc081 (diff)
[IMP] lunch: Adapt tests to work with/without demo data
-rw-r--r--addons/lunch/tests/test_supplier.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/lunch/tests/test_supplier.py b/addons/lunch/tests/test_supplier.py
index bc1da3bb880..3048237d9d1 100644
--- a/addons/lunch/tests/test_supplier.py
+++ b/addons/lunch/tests/test_supplier.py
@@ -42,6 +42,7 @@ class TestSupplier(TestsCommon):
'''
This test checks that _search_available_today returns a valid domain
'''
+ self.env.user.tz = 'Europe/Brussels'
Supplier = self.env['lunch.supplier']
tests = [(self.monday_1am, 1.0, 'monday'), (self.monday_10am, 10.0, 'monday'),