Commit 0324a19b authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

pending test (orphan NPE)

parent fa5dd5aa
......@@ -22,7 +22,7 @@ declare
%test:name("cache")
%test:assertTrue
%test:pending (: throws NPE on non-initialized db. needs some data from the grid. :)
function local:cache()
as xs:string {
let $set-option := util:declare-option("exist:output-size-limit", "2000000")
......@@ -36,6 +36,7 @@ let $uris := (doc('/db/sade-projects/textgrid/data/xml/agg/' || $agg)
let $lastMod := $uris ! xmldb:last-modified($f-indexproc:dataPath, . || '.xml')
return
if($uris = ()) then true() else
if(not(local:login($collection-uri)))
then error(QName("FONTANE", "INDEXVIEW1"), "unable to authenticate.")
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment