summaryrefslogtreecommitdiffhomepage
path: root/Tests.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-10-06 13:54:52 -0400
committerJoey Hess <joeyh@joeyh.name>2016-10-06 13:54:52 -0400
commitb40d441c52f37584653e74fada9906cc8105c9f7 (patch)
tree737396d6ab61212cad52555c7bc99dedd167b330 /Tests.hs
parent54d3bfbb98958cb49399f1a7f092fa43593ef4c8 (diff)
downloadkeysafe-b40d441c52f37584653e74fada9906cc8105c9f7.tar.gz
move level from Server to Storage
This allows local storage locations to have levels too, and also get shuffled nicely. This commit was sponsored by Ethan Aubin.
Diffstat (limited to 'Tests.hs')
-rw-r--r--Tests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests.hs b/Tests.hs
index 7955c7f..7294cfb 100644
--- a/Tests.hs
+++ b/Tests.hs
@@ -75,7 +75,7 @@ withTestStorageLocations a = bracket setup cleanup go
setup = mkdtemp "keysafe-test"
cleanup = removeDirectoryRecursive
go tmpdir = a $ StorageLocations $
- map (localStorage (testStorageDir tmpdir) . show)
+ map (localStorage LocallyPreferred (testStorageDir tmpdir) . show)
[1..100 :: Int]
-- | Test of backup and restore of a SecretKey.