File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ function checkStatus() {
111111 jQuery ( '#wpe-progress' ) . show ( ) ;
112112
113113 // Display the current plugin count.
114- jQuery ( '#wpe-progress-count' ) . text ( ( obj . total - obj . count ) + '/' + obj . total ) ;
114+ jQuery ( '#wpe-progress-count' ) . text ( ( obj . total - obj . count + 1 ) + '/' + obj . total ) ;
115115
116116 // Display the object being scanned.
117117 jQuery ( '#wpe-progress-active' ) . text ( obj . activeJob ) ;
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ QUnit.test( 'Test checkStatus progress', function( assert ) {
124124 return true ;
125125 } ,
126126 onAfterComplete : function ( ) { // Check the results of checkStatus();
127- assert . ok ( $ ( '#wpe-progress-count' ) . text ( ) === '16 /17' , 'Progress count is correct.' ) ;
127+ assert . ok ( $ ( '#wpe-progress-count' ) . text ( ) === '17 /17' , 'Progress count is correct.' ) ;
128128 assert . ok ( $ ( '#progressbar' ) . progressbar ( 'value' ) === 94.1176470588 , 'Progress bar is correct.' ) ;
129129
130130 // Clear the next queued checkStatus call.
You can’t perform that action at this time.
0 commit comments