Skip to content

Commit

Permalink
#1275 Review of properties - fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed May 24, 2024
1 parent 960673d commit 481d45b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class PropertiesGraphQLIT : AbstractQLKTITJUnit4Support() {
"net.nemerosa.ontrack.extension.general.MessagePropertyType",
property.path("typeName").asText())
assertEquals("Message", property.path("name").asText())
assertEquals("Message.", property.path("description").asText())
assertEquals("Associates an arbitrary message (and its type) to an entity. Will be displayed as a decorator in the UI.", property.path("description").asText())
assertEquals(
ProjectEntityType.values().map { it.name }.toSet(),
property.path("supportedEntityTypes").map { it.asText() }.toSet()
Expand Down Expand Up @@ -272,7 +272,7 @@ class PropertiesGraphQLIT : AbstractQLKTITJUnit4Support() {
"net.nemerosa.ontrack.extension.general.MessagePropertyType",
property.path("typeName").asText())
assertEquals("Message", property.path("name").asText())
assertEquals("Message.", property.path("description").asText())
assertEquals("Associates an arbitrary message (and its type) to an entity. Will be displayed as a decorator in the UI.", property.path("description").asText())
assertEquals(
ProjectEntityType.values().map { it.name }.toSet(),
property.path("supportedEntityTypes").map { it.asText() }.toSet()
Expand Down

0 comments on commit 481d45b

Please sign in to comment.