]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-11320 Update branding from VSTS/TFS to Azure DevOps
authorJulien HENRY <julien.henry@sonarsource.com>
Wed, 26 Jun 2019 07:38:07 +0000 (09:38 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 28 Jun 2019 06:45:51 +0000 (08:45 +0200)
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v79/MigrateVstsProviderToAzureDevOps.java
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v79/MigrateVstsProviderToAzureDevOpsTest.java

index 4bbe529dc2dc756bf1ca48fc586c1d298424e144..23a6bd06a2803ac0f5e9879a77e32c1432e0284c 100644 (file)
@@ -57,7 +57,7 @@ public class MigrateVstsProviderToAzureDevOps extends DataChange {
       case VSTS:
         return "Azure DevOps Services";
       case VSTS_TFS:
-        return "Azure DevOps Services/Server";
+        return "Azure DevOps";
       default:
         throw new IllegalStateException("Unexpected value: " + oldValue);
     }
index 880f8c085bf5d5f4a12f806637e9327fbf1bc2dd..e9cb62b0d8c537f3bf2ca47fea6481daf96a5a1e 100644 (file)
@@ -53,7 +53,7 @@ public class MigrateVstsProviderToAzureDevOpsTest {
     assertPropertyContainsInAnyOrder(
       tuple("sonar.pullrequest.provider", "any.value_here", null, false),
       tuple("sonar.pullrequest.provider", "Azure DevOps Services", null, false),
-      tuple("sonar.pullrequest.provider", "Azure DevOps Services/Server", null, false), // Single change
+      tuple("sonar.pullrequest.provider", "Azure DevOps", null, false), // Single change
       tuple("whatever.property", "nothingspecial", null, false),
       tuple("whatever.property", null, "nothing.special", false)
     );
@@ -73,7 +73,7 @@ public class MigrateVstsProviderToAzureDevOpsTest {
     assertPropertyContainsInAnyOrder(
       tuple("sonar.pullrequest.provider", "any.value_here", null, false),
       tuple("sonar.pullrequest.provider", "Azure DevOps Services", null, false),
-      tuple("sonar.pullrequest.provider", "Azure DevOps Services/Server", null, false), // Single change
+      tuple("sonar.pullrequest.provider", "Azure DevOps", null, false), // Single change
       tuple("whatever.property", "nothingspecial", null, false),
       tuple("whatever.property", null, "nothing.special", false)
     );