Skip to content
Extraits de code Groupes Projets
Valider b04e2840 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Include format in CoreUpdaterDb API UI test description, otherwise the tests...

Include format in CoreUpdaterDb API UI test description, otherwise the tests will all have the same description.
parent 9d19c380
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -18,7 +18,7 @@ describe("CoreUpdaterDb", function () { ...@@ -18,7 +18,7 @@ describe("CoreUpdaterDb", function () {
}); });
function apiUpgradeTest(format) { function apiUpgradeTest(format) {
it("should start the updater when an old version of Piwik is detected in the DB", function (done) { it("should start the updater when an old version of Piwik is detected in the DB with format " + format, function (done) {
expect.file('CoreUpdater.API.ErrorMessage' + format + '.txt').to.be.pageContents(function (page) { expect.file('CoreUpdater.API.ErrorMessage' + format + '.txt').to.be.pageContents(function (page) {
page.load(''); page.load('');
page.downloadUrl('?module=API&method=API.getPiwikVersion&format=' + format); page.downloadUrl('?module=API&method=API.getPiwikVersion&format=' + format);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter