Skip to content

Commit

Permalink
Test was wrong, 2 rules were added and was expecting 1 to be returned…
Browse files Browse the repository at this point in the history
…, now that the code is fixed, this test needs to be corrected
  • Loading branch information
nul800sebastiaan committed Oct 14, 2015
1 parent e0619ed commit 62897f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Umbraco.Tests/Services/PublicAccessServiceTests.cs
Expand Up @@ -119,7 +119,7 @@ public void Can_Update_Rule()
// Assert
Assert.IsTrue(updated.Success);
Assert.AreEqual(OperationStatusType.Success, updated.Result.StatusType);
Assert.AreEqual(1, entry.Rules.Count());
Assert.AreEqual(2, entry.Rules.Count());
Assert.AreEqual("AnotherVal", entry.Rules.ElementAt(0).RuleValue);
}
}
Expand Down

0 comments on commit 62897f7

Please sign in to comment.