diff --git a/modules/models/src/main/java/org/eclipse/xpanse/modules/models/system/enums/BackendSystemType.java b/modules/models/src/main/java/org/eclipse/xpanse/modules/models/system/enums/BackendSystemType.java index 73041d9c7..81c12198c 100644 --- a/modules/models/src/main/java/org/eclipse/xpanse/modules/models/system/enums/BackendSystemType.java +++ b/modules/models/src/main/java/org/eclipse/xpanse/modules/models/system/enums/BackendSystemType.java @@ -15,7 +15,7 @@ */ public enum BackendSystemType { - IDENTITY_PROVIDER("IdentityProvider"), + IDENTITY_PROVIDER("Identity Provider"), DATABASE("Database"), TERRAFORM_BOOT("Terraform Boot"), TOFU_MAKER("Tofu Maker"), diff --git a/modules/models/src/test/java/org/eclipse/xpanse/modules/models/system/enums/BackendSystemTypeTest.java b/modules/models/src/test/java/org/eclipse/xpanse/modules/models/system/enums/BackendSystemTypeTest.java index debd18795..66c97c740 100644 --- a/modules/models/src/test/java/org/eclipse/xpanse/modules/models/system/enums/BackendSystemTypeTest.java +++ b/modules/models/src/test/java/org/eclipse/xpanse/modules/models/system/enums/BackendSystemTypeTest.java @@ -18,7 +18,7 @@ class BackendSystemTypeTest { @Test public void testGetByValue() { - BackendSystemType type = BackendSystemType.getByValue("identityProvider"); + BackendSystemType type = BackendSystemType.getByValue("identity provider"); Assertions.assertEquals(type, BackendSystemType.IDENTITY_PROVIDER); BackendSystemType type1 = BackendSystemType.getByValue("database"); @@ -43,7 +43,7 @@ public void testGetByValue() { @Test public void testToValue() { String value = BackendSystemType.IDENTITY_PROVIDER.toValue(); - Assertions.assertEquals("IdentityProvider", value); + Assertions.assertEquals("Identity Provider", value); String name = BackendSystemType.IDENTITY_PROVIDER.name(); Assertions.assertEquals("IDENTITY_PROVIDER", name); String string = BackendSystemType.IDENTITY_PROVIDER.toString();