Skip to content

Commit

Permalink
replace OntologyCache.cacheUpdatedOntologyWithClass with refreshing f…
Browse files Browse the repository at this point in the history
…rom DB
  • Loading branch information
seakayone committed Jan 22, 2025
1 parent 0d786d0 commit 43598d7
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 307 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1993,8 +1993,8 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {

val newObjects = Seq(
StringLiteralV2.from("has name", Some("en")),
StringLiteralV2.from("a nom", Some("fr")),
StringLiteralV2.from("hat Namen", Some("de")),
StringLiteralV2.from("a nom", Some("fr")),
)

appActor ! ChangePropertyLabelsOrCommentsRequestV2(
Expand Down Expand Up @@ -2028,8 +2028,8 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {

val newObjects = Seq(
StringLiteralV2.from("has name", Some("en")),
StringLiteralV2.from("a nom", Some("fr")),
StringLiteralV2.from("hat Namen", Some("de")),
StringLiteralV2.from("a nom", Some("fr")),
)

appActor ! ChangePropertyLabelsOrCommentsRequestV2(
Expand Down Expand Up @@ -2091,11 +2091,11 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {

val newObjects = Seq(
StringLiteralV2.from("The name of a Thing", Some("en")),
StringLiteralV2.from("Der Name eines Dinges", Some("de")),
StringLiteralV2.from(
"Le nom d\\'une chose",
Some("fr"),
), // This is SPARQL-escaped as it would be if taken from a JSON-LD request.
StringLiteralV2.from("Der Name eines Dinges", Some("de")),
)

// Make an unescaped copy of the new comments, because this is how we will receive them in the API response.
Expand Down Expand Up @@ -2134,11 +2134,11 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {

val newObjects = Seq(
StringLiteralV2.from("The name of a Thing", Some("en")),
StringLiteralV2.from("Der Name eines Dinges", Some("de")),
StringLiteralV2.from(
"Le nom d\\'une chose",
Some("fr"),
), // This is SPARQL-escaped as it would be if taken from a JSON-LD request.
StringLiteralV2.from("Der Name eines Dinges", Some("de")),
)

// Make an unescaped copy of the new comments, because this is how we will receive them in the API response.
Expand Down
Loading

0 comments on commit 43598d7

Please sign in to comment.