summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/upgrade_fields_tests.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-07-27 12:42:10 +0200
committerqsm-odoo <qsm@odoo.com>2018-07-27 12:42:10 +0200
commit2b3017974bc7cd4b3a74f83c956224cfe4e5a918 (patch)
treeff6aab8dc6bfa7afbe9ef714ca157ebc0185d2fd /addons/web/static/tests/fields/upgrade_fields_tests.js
parent8ed8b46f6434a2a3adea69e0134317e30bf9b936 (diff)
parent519594e9cab9a6362ef7c3e911605e4507a0a008 (diff)
[MERGE] *: migrate Bootstrap 3.3.7 to 4.1.3
See sub-commits for details. task-49280 Closes https://github.com/odoo/odoo/pull/25045
Diffstat (limited to 'addons/web/static/tests/fields/upgrade_fields_tests.js')
-rw-r--r--addons/web/static/tests/fields/upgrade_fields_tests.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/web/static/tests/fields/upgrade_fields_tests.js b/addons/web/static/tests/fields/upgrade_fields_tests.js
index 427ec7b54e3..15c32eeeaf0 100644
--- a/addons/web/static/tests/fields/upgrade_fields_tests.js
+++ b/addons/web/static/tests/fields/upgrade_fields_tests.js
@@ -52,10 +52,10 @@ QUnit.module('upgrade_fields', {
'</form>',
});
- assert.strictEqual(form.$('.o_field .label').length, 0,
- "the upgrade label shouldn't be inside the field section");
- assert.strictEqual(form.$('.o_label .label').length, 1,
- "the upgrade label should be inside the label section");
+ assert.strictEqual(form.$('.o_field .badge').length, 0,
+ "the upgrade badge shouldn't be inside the field section");
+ assert.strictEqual(form.$('.o_label .badge').length, 1,
+ "the upgrade badge should be inside the label section");
assert.strictEqual(form.$('.o_label').text(), "Bar EnterpriseCoucou",
"the upgrade label should be inside the label section");
form.destroy();