Skip to content

Commit

Permalink
keep backend system names consistent for identity provider
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroopar committed Jun 2, 2024
1 parent 37e88a6 commit 285e67c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
public enum BackendSystemType {

IDENTITY_PROVIDER("IdentityProvider"),
IDENTITY_PROVIDER("Identity Provider"),
DATABASE("Database"),
TERRAFORM_BOOT("Terraform Boot"),
TOFU_MAKER("Tofu Maker"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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();
Expand Down

0 comments on commit 285e67c

Please sign in to comment.