Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BalduinLandolt committed Aug 24, 2023
1 parent 4883045 commit ee36da5
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {
val anythingHasOtherThingValue: IRI = anythingOntology + "hasOtherThingValue"
val anythingHasRichtext: IRI = anythingOntology + "hasRichtext"
val anythingHasText: IRI = anythingOntology + "hasText"
val anythingHasUnformattedText: IRI = anythingOntology + "hasUnformattedText"
val anythingHasCustomFormattedText: IRI = anythingOntology + "hasCustomFormattedText"
val anythingHasThingDocument: IRI = anythingOntology + "hasThingDocument"
val anythingHasThingDocumentValue: IRI = anythingOntology + "hasThingDocumentValue"
val anythingHasThingPicture: IRI = anythingOntology + "hasThingPicture"
Expand Down Expand Up @@ -2886,6 +2888,8 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {
anythingHasOtherThingValue,
anythingHasRichtext,
anythingHasText,
anythingHasUnformattedText,
anythingHasCustomFormattedText,
anythingHasThingDocument,
anythingHasThingDocumentValue,
anythingHasThingPicture,
Expand Down Expand Up @@ -2972,6 +2976,8 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {
anythingHasOtherThingValue,
anythingHasRichtext,
anythingHasText,
anythingHasUnformattedText,
anythingHasCustomFormattedText,
anythingHasThingDocument,
anythingHasThingDocumentValue,
anythingHasThingPicture,
Expand Down Expand Up @@ -3091,6 +3097,8 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {
anythingHasOtherThingValue,
anythingHasRichtext,
anythingHasText,
anythingHasUnformattedText,
anythingHasCustomFormattedText,
anythingHasThingDocument,
anythingHasThingDocumentValue,
anythingHasThingPicture,
Expand Down Expand Up @@ -6710,7 +6718,7 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {
}

"create a property pointing to a kb:UnformattedTextValue" in {
val unformattedTextValuePropertyIri = AnythingOntologyIri.makeEntityIri("hasUnformattedText")
val unformattedTextValuePropertyIri = AnythingOntologyIri.makeEntityIri("hasAnotherUnformattedText")
val unformattedTextValuePropertyInfoContent = PropertyInfoContentV2(
propertyIri = unformattedTextValuePropertyIri,
predicates = propertyPredicates(objectType = OntologyConstants.KnoraBase.UnformattedTextValue.toSmartIri),
Expand Down Expand Up @@ -6758,7 +6766,7 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender {
}

"create a property pointing to a CustomFormattedTextValue" in {
val customFormattedTextValuePropertyIri = AnythingOntologyIri.makeEntityIri("hasCustomFormattedText")
val customFormattedTextValuePropertyIri = AnythingOntologyIri.makeEntityIri("hasAnotherCustomFormattedText")
val customFormattedTextValuePropertyInfoContent = PropertyInfoContentV2(
propertyIri = customFormattedTextValuePropertyIri,
predicates = propertyPredicates(objectType = OntologyConstants.KnoraBase.CustomFormattedTextValue.toSmartIri),
Expand Down

0 comments on commit ee36da5

Please sign in to comment.