Skip to content

Commit e6c6c70

Browse files
committed
Fix processor API tests using incorrect context URL
The processor API tests were using "https://ns.flur.ee/ledger#" as a context URL, which the external jsonld library tried to fetch as a remote context. This was causing test failures in CI. Changed to use the correct context URL "https://ns.flur.ee/ledger/v1" which is a valid registered context in the library.
1 parent 357d749 commit e6c6c70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/fluree/json_ld/processor/api_test.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494

9595
(deftest to-rdf--remote-context
9696
(async done
97-
(-> (jld-processor/to-rdf {"@context" "https://ns.flur.ee/ledger#"
97+
(-> (jld-processor/to-rdf {"@context" "https://ns.flur.ee/ledger/v1"
9898
"address" ""})
9999
(.then (fn [result]
100100
(is (= "_:b0 <https://ns.flur.ee/ledger#address> \"\" .\n"
@@ -138,7 +138,7 @@
138138

139139
(deftest canonize--remote-context
140140
(async done
141-
(-> (jld-processor/canonize {"@context" "https://ns.flur.ee/ledger#"
141+
(-> (jld-processor/canonize {"@context" "https://ns.flur.ee/ledger/v1"
142142
"address" ""})
143143
(.then (fn [result]
144144
(is (= "_:c14n0 <https://ns.flur.ee/ledger#address> \"\" .\n"

0 commit comments

Comments
 (0)