diff --git a/includes/Hooks.php b/includes/Hooks.php index e0c30425..251a85c6 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -274,14 +274,14 @@ class Hooks { 'ext.relatedArticles.cards' ], 'scripts' => [ - 'ext.relatedArticles.cards/CardModel.js', - 'ext.relatedArticles.cards/CardView.js', + 'ext.relatedArticles.cards/CardModel.test.js', + 'ext.relatedArticles.cards/CardView.test.js', ] ]; $modules['qunit']['ext.relatedArticles.readMore.gateway.tests'] = $boilerplate + [ 'scripts' => [ - 'ext.relatedArticles.readMore.gateway/test_RelatedPagesGateway.js', + 'ext.relatedArticles.readMore.gateway/RelatedPagesGateway.test.js', ], 'dependencies' => [ 'ext.relatedArticles.readMore.gateway', diff --git a/tests/qunit/ext.relatedArticles.cards/CardModel.js b/tests/qunit/ext.relatedArticles.cards/CardModel.test.js similarity index 100% rename from tests/qunit/ext.relatedArticles.cards/CardModel.js rename to tests/qunit/ext.relatedArticles.cards/CardModel.test.js diff --git a/tests/qunit/ext.relatedArticles.cards/CardView.js b/tests/qunit/ext.relatedArticles.cards/CardView.test.js similarity index 100% rename from tests/qunit/ext.relatedArticles.cards/CardView.js rename to tests/qunit/ext.relatedArticles.cards/CardView.test.js diff --git a/tests/qunit/ext.relatedArticles.readMore.gateway/test_RelatedPagesGateway.js b/tests/qunit/ext.relatedArticles.readMore.gateway/RelatedPagesGateway.test.js similarity index 100% rename from tests/qunit/ext.relatedArticles.readMore.gateway/test_RelatedPagesGateway.js rename to tests/qunit/ext.relatedArticles.readMore.gateway/RelatedPagesGateway.test.js