Skip to content

Commit ebf3887

Browse files
committed
PATCH update fixes
HTTP test fixes
1 parent 1ac9600 commit ebf3887

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

http-tests/admin/packages/install-uninstall-package-ontology.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ purge_cache "$FRONTEND_VARNISH_SERVICE"
99

1010
# test package URI (SKOS package)
1111
package_uri="https://packages.linkeddatahub.com/skos/#this"
12-
package_ontology_uri="http://www.w3.org/2004/02/skos/core"
12+
package_ontology_uri="https://raw.githubusercontent.com/AtomGraph/LinkedDataHub-Apps/refs/heads/develop/packages/skos/ns.ttl#"
1313
namespace_ontology_uri="${END_USER_BASE_URL}ns#"
1414

1515
# install package

http-tests/admin/packages/uninstall-package-ontology.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ purge_cache "$FRONTEND_VARNISH_SERVICE"
99

1010
# test package URI (SKOS package)
1111
package_uri="https://packages.linkeddatahub.com/skos/#this"
12-
package_ontology_uri="http://www.w3.org/2004/02/skos/core"
12+
package_ontology_uri="https://raw.githubusercontent.com/AtomGraph/LinkedDataHub-Apps/refs/heads/develop/packages/skos/ns.ttl#"
1313
namespace_ontology_uri="${END_USER_BASE_URL}ns#"
1414

1515
# first install the package

src/main/java/com/atomgraph/linkeddatahub/resource/admin/pkg/InstallPackage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ private void installOntology(EndUserApplication app, Model ontologyModel, String
327327

328328
String updateString = String.format(
329329
"PREFIX owl: <http://www.w3.org/2002/07/owl#> " +
330-
"INSERT DATA { <%s> owl:imports <%s> }",
330+
"INSERT { <%s> owl:imports <%s> } WHERE { }",
331331
namespaceOntologyURI, packageOntologyURI
332332
);
333333

0 commit comments

Comments
 (0)