Permalink
Browse files

fix of dupe-save on new broke this unit test. Goran, run the unit tes…

…ts! :)
  • Loading branch information...
1 parent 1e0e519 commit a4e1c865670ff7ed2e6e09c6e5281c2ebe59b9e7 @kolosy kolosy committed Dec 5, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 Tests/Autoreconcile/CouchAutoreconcileTest.cs
@@ -116,7 +116,7 @@ public void ShouldHandleConflict()
doc.Rev = rev;
db.SaveDocument(doc);
- Assert.That(doc.Rev.StartsWith("4"), "Incorrect revision");
+ Assert.That(doc.Rev.StartsWith("3"), "Incorrect revision");
}
[Test]
@@ -136,7 +136,7 @@ public void ShouldResolveConflict()
doc2 = db.SaveDocument(doc2) as Car;
- Assert.That(doc2.Rev.StartsWith("4"), "Incorrect revision");
+ Assert.That(doc2.Rev.StartsWith("3"), "Incorrect revision");
Assert.AreEqual("Slightly Better", doc2.Make);
Assert.AreEqual("Type S", doc2.Model);
Assert.AreEqual(6, doc2.HorsePowers);

0 comments on commit a4e1c86

Please sign in to comment.