diff --git a/tests/qunit/fixtures/updates.js b/tests/qunit/fixtures/updates.js index 7e31370814880..4ac38402cf658 100644 --- a/tests/qunit/fixtures/updates.js +++ b/tests/qunit/fixtures/updates.js @@ -59,5 +59,15 @@ window._wpUpdatesSettings = { }; window._wpUpdatesItemCounts = { plugins: {}, - totals: {} + // Matches the update counts in the fixture markup in index.html. + totals: { + counts: { + plugins: 2, + themes: 0, + wordpress: 0, + translations: 0, + total: 2 + }, + title: '2 Plugin Updates' + } }; diff --git a/tests/qunit/index.html b/tests/qunit/index.html index 5054ff954518d..f9033a776151c 100644 --- a/tests/qunit/index.html +++ b/tests/qunit/index.html @@ -85,6 +85,7 @@ + @@ -98,6 +99,7 @@ + +