Commit 5f757590 authored by Sven Franck's avatar Sven Franck

restore scenario test

parent 12f16a47
...@@ -1454,7 +1454,7 @@ test ("Remove", function(){ ...@@ -1454,7 +1454,7 @@ test ("Remove", function(){
deepEqual(localstorage.getItem( deepEqual(localstorage.getItem(
"jio/localstorage/urevrem/arevrem/remove1."+o.rev "jio/localstorage/urevrem/arevrem/remove1."+o.rev
), {"_id": "remove1."+o.rev, "title":"myRemove1"}, "Check document"); ), {"_id": "remove1."+o.rev, "title":"myRemove1"}, "Check document");
/*
// add another attachment // add another attachment
o.attmt_myremove2 = { o.attmt_myremove2 = {
"remove3": { "remove3": {
...@@ -1525,6 +1525,7 @@ test ("Remove", function(){ ...@@ -1525,6 +1525,7 @@ test ("Remove", function(){
"status": "deleted", "status": "deleted",
"children": [] "children": []
}); });
/*
deepEqual(localstorage.getItem( deepEqual(localstorage.getItem(
"jio/localstorage/urevrem/arevrem/remove1.revision_tree.json" "jio/localstorage/urevrem/arevrem/remove1.revision_tree.json"
), o.testtree, "Check document tree"); ), o.testtree, "Check document tree");
...@@ -1541,11 +1542,10 @@ test ("Remove", function(){ ...@@ -1541,11 +1542,10 @@ test ("Remove", function(){
o.spy (o,"status", 409, "409 - Removing document (no revision)"); o.spy (o,"status", 409, "409 - Removing document (no revision)");
o.jio.remove({"_id":"remove1"}, o.f); o.jio.remove({"_id":"remove1"}, o.f);
o.tick(o); o.tick(o);
*/ */
o.jio.stop(); o.jio.stop();
}); });
/*
module ( "Jio Revision Storage + Local Storage" ); module ( "Jio Revision Storage + Local Storage" );
test ("Scenario", function(){ test ("Scenario", function(){
...@@ -1681,7 +1681,7 @@ test ("Scenario", function(){ ...@@ -1681,7 +1681,7 @@ test ("Scenario", function(){
ok ( o.jio, "Close application"); ok ( o.jio, "Close application");
}); });
*/
/* /*
module ('Jio DAVStorage'); module ('Jio DAVStorage');
......
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