diff --git a/Tests/CouchTest.cs b/Tests/CouchTest.cs index 71cb606..e6c313a 100644 --- a/Tests/CouchTest.cs +++ b/Tests/CouchTest.cs @@ -205,7 +205,7 @@ public void ShouldSaveDocumentWithoutId() private class LittleCar { - public string Id, Rev; + public string _id, _rev; public string Make, Model, docType; } @@ -214,7 +214,7 @@ public void ShouldSaveArbitraryDocument() { var littleCar = new LittleCar() { docType = "car", Make = "Yugo", Model = "Hell if i know" }; littleCar = db.SaveArbitraryDocument(littleCar); - Assert.IsNotNull(littleCar.Id); + Assert.IsNotNull(littleCar._id); } [Test] @@ -222,9 +222,9 @@ public void ShouldLoadArbitraryDocument() { var firstCar = new LittleCar() { docType = "car", Make = "Yugo", Model = "Hell if i know" }; firstCar = db.SaveArbitraryDocument(firstCar); - var otherCar = db.GetArbitraryDocument(firstCar.Id, () => new LittleCar()); + var otherCar = db.GetArbitraryDocument(firstCar._id, () => new LittleCar()); Assert.IsNotNull(otherCar); - Assert.IsNotNull(otherCar.Id); + Assert.IsNotNull(otherCar._id); } [Test] diff --git a/Tests/Divan.Test.csproj b/Tests/Divan.Test.csproj index 2e54dae..c7cd771 100644 --- a/Tests/Divan.Test.csproj +++ b/Tests/Divan.Test.csproj @@ -76,9 +76,6 @@ Divan - - -