From ac8b1e4eee8682e6825730c4823036a90031edad Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Mon, 13 May 2024 18:11:57 +0200 Subject: Core: Make back compat disabled by default Closes gh-2250 --- tests/unit/button/button.html | 2 +- tests/unit/dialog/dialog.html | 2 +- tests/unit/droppable/droppable.html | 3 +-- tests/unit/tabs/core.js | 6 +++--- tests/unit/tooltip/tooltip.html | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) (limited to 'tests/unit') diff --git a/tests/unit/button/button.html b/tests/unit/button/button.html index 6cf27fb33..1c3d10199 100644 --- a/tests/unit/button/button.html +++ b/tests/unit/button/button.html @@ -6,7 +6,7 @@ - + diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html index bdba5e11c..30f22c60e 100644 --- a/tests/unit/dialog/dialog.html +++ b/tests/unit/dialog/dialog.html @@ -6,7 +6,7 @@ - + diff --git a/tests/unit/droppable/droppable.html b/tests/unit/droppable/droppable.html index 5c3ec3dd9..e507bb561 100644 --- a/tests/unit/droppable/droppable.html +++ b/tests/unit/droppable/droppable.html @@ -6,8 +6,7 @@ - + diff --git a/tests/unit/tabs/core.js b/tests/unit/tabs/core.js index 7637cfb1f..0f9e7acbb 100644 --- a/tests/unit/tabs/core.js +++ b/tests/unit/tabs/core.js @@ -29,9 +29,9 @@ QUnit.test( "markup structure", function( assert ) { assert.hasClasses( tabs[ 2 ], "ui-tabs-tab" ); // DEPRECATED - assert.hasClasses( tabs[ 0 ], "ui-tab" ); - assert.hasClasses( tabs[ 1 ], "ui-tab" ); - assert.hasClasses( tabs[ 2 ], "ui-tab" ); + assert.lacksClasses( tabs[ 0 ], "ui-tab" ); + assert.lacksClasses( tabs[ 1 ], "ui-tab" ); + assert.lacksClasses( tabs[ 2 ], "ui-tab" ); assert.equal( tabs.length, 3, "There are exactly three tabs" ); assert.hasClasses( anchors[ 0 ], "ui-tabs-anchor" ); diff --git a/tests/unit/tooltip/tooltip.html b/tests/unit/tooltip/tooltip.html index b5561d926..8c6dec70d 100644 --- a/tests/unit/tooltip/tooltip.html +++ b/tests/unit/tooltip/tooltip.html @@ -6,7 +6,7 @@ - + -- cgit v1.2.3