Make Minerva QUnit tests v2 compatible

Drop the checks for number of assertions

Bug: T174598
Change-Id: I82728a389d733900144786c149239856562a8c46
This commit is contained in:
jdlrobson 2017-08-31 09:44:58 -04:00 committed by Jdlrobson
parent b7946cba59
commit dcdee45861
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
}
} );
QUnit.test( '#setCount', 2, function ( assert ) {
QUnit.test( '#setCount', function ( assert ) {
var initialClassExpectationsMet,
badge = new NotificationBadge( {
overlayManager: this.OverlayManager,
@ -25,7 +25,7 @@
assert.ok( badge.$el.find( '.zero' ).length === 1, 'A zero class is present on the badge' );
} );
QUnit.test( '#render [hasUnseenNotifications]', 1, function ( assert ) {
QUnit.test( '#render [hasUnseenNotifications]', function ( assert ) {
var badge = new NotificationBadge( {
notificationCount: 0,
overlayManager: this.OverlayManager,
@ -35,7 +35,7 @@
assert.ok( badge.$el.find( '.mw-ui-icon' ).length === 1, 'A bell icon is visible' );
} );
QUnit.test( '#markAsSeen', 2, function ( assert ) {
QUnit.test( '#markAsSeen', function ( assert ) {
var badge = new NotificationBadge( {
notificationCount: 2,
overlayManager: this.OverlayManager,