Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit da0ecb41 authored by Mathias Goebel's avatar Mathias Goebel
Browse files

tests: remove tests interacting with TG

parent 59fc9782
Branches
No related tags found
No related merge requests found
Pipeline #239130 failed
......@@ -10,7 +10,8 @@ import module namespace test="http://exist-db.org/xquery/xqsuite" at "resource:o
: test provided here will not cover the major part of the function, but they are tested by the
: preceding function call(s).
: WARNING: failing test here will expose the result, which might be a valid session id.
:)
: WARNING: fails when TG not available
declare
%test:assumeIntenetAccess("https://textgridlab.org")
%test:assertXPath("string-length($result) gt 5")
......@@ -20,3 +21,6 @@ function ct:get-textgrid-session-id()
as xs:string {
commons:get-textgrid-session-id()
};
:)
()
\ No newline at end of file
......@@ -32,7 +32,7 @@ function t:make-facsimile-id($manifest-uri as xs:string,
as xs:string {
tapi-item:make-facsimile-id($manifest-uri, $page, $tc:server)
};
(:
declare
%test:assumeIntenetAccess("https://textgridlab.org")
%test:args("3qzg5") %test:assertEquals("http://0.0.0.0:8080/exist/restxq/api/images/public/3qzg5")
......@@ -52,7 +52,7 @@ function t:make-restricted-or-public-path-component($facsimile-uri as xs:string)
as xs:string {
tapi-item:make-restricted-or-public-path-component($facsimile-uri)
};
:)
declare
%test:args("3r1nz") %test:assertEquals("http://0.0.0.0:8080/exist/restxq/api/images/restricted/3r1nz")
function t:make-url-for-single-page-image($facsimile-uri as xs:string)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment