Skip to content

Commit

Permalink
Use non prefixed URI in test for greater portability
Browse files Browse the repository at this point in the history
  • Loading branch information
RickMoynihan committed Feb 1, 2018
1 parent 38ec240 commit 22c7933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/drafter/backend/draftset/operations_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
(make-graph-live! *test-backend* live-graph initial-time-fn) ;; note this isn't actual a publish operation it's just setting up stategraph state

(let [draft-graph (import-data-to-draft! *test-backend* live-graph (test-triples (URI. "http://subject")) draftset-id initial-time-fn)
fetch-modified (fn [repo graph-uri] (:modified (first (repo/query (repo/->connection repo) (format "SELECT ?modified WHERE { <%s> dcterms:modified ?modified .}" graph-uri)))))
fetch-modified (fn [repo graph-uri] (:modified (first (repo/query (repo/->connection repo) (format "SELECT ?modified WHERE { <%s> <http://purl.org/dc/terms/modified> ?modified .}" graph-uri)))))
initially-modified-at (fetch-modified *test-backend* live-graph)]

(is (mgmth/draft-exists? *test-backend* draft-graph))
Expand Down

0 comments on commit 22c7933

Please sign in to comment.