diff --git a/addons/google_calendar/static/tests/google_calendar_tests.js b/addons/google_calendar/static/tests/google_calendar_tests.js index fe46f72402e..0ef7d4e89f2 100644 --- a/addons/google_calendar/static/tests/google_calendar_tests.js +++ b/addons/google_calendar/static/tests/google_calendar_tests.js @@ -23,7 +23,6 @@ QUnit.module('Google Calendar', { partner_id: {string: "user", type: "many2one", relation: 'partner', related: 'user_id.partner_id'}, name: {string: "name", type: "char"}, start_date: {string: "start date", type: "date"}, - start_date: {string: "start date", type: "date"}, stop_date: {string: "stop date", type: "date"}, start: {string: "start datetime", type: "datetime"}, stop: {string: "stop datetime", type: "datetime"}, diff --git a/addons/website_sale_loyalty/static/tests/tours/test_gift_card_tour.js b/addons/website_sale_loyalty/static/tests/tours/test_gift_card_tour.js index 76caad223cc..f0dc30c165c 100644 --- a/addons/website_sale_loyalty/static/tests/tours/test_gift_card_tour.js +++ b/addons/website_sale_loyalty/static/tests/tours/test_gift_card_tour.js @@ -53,7 +53,6 @@ tour.register('shop_sale_gift_card', { }, { content: 'check gift card amount', - trigger: '.oe_currency_value:contains("-45.00")', trigger: '.oe_website_sale .oe_cart', run: function () {}, // it's a check }, @@ -82,7 +81,6 @@ tour.register('shop_sale_gift_card', { tourUtils.goToCart({quantity: 2}), { content: 'check gift card amount', - trigger: '.oe_currency_value:contains("-45.00")', trigger: '.oe_website_sale .oe_cart', run: function () {}, // it's a check }, diff --git a/odoo/addons/test_lint/tests/eslintrc b/odoo/addons/test_lint/tests/eslintrc index 0e0da3fa470..c1018c1802c 100644 --- a/odoo/addons/test_lint/tests/eslintrc +++ b/odoo/addons/test_lint/tests/eslintrc @@ -14,6 +14,9 @@ "no-const-assign": ["error"], "no-debugger": ["error"], "no-dupe-class-members": ["error"], + "no-dupe-keys": ["error"], + "no-dupe-args": ["error"], + "no-dupe-else-if": ["error"], "no-unsafe-negation": ["error"], "no-duplicate-imports": ["error"], "valid-typeof": ["error"],