From 56e23e1b510aabcaa58181f2ad6e9984dd3f1758 Mon Sep 17 00:00:00 2001 From: j82w Date: Mon, 2 Dec 2019 08:11:21 -0800 Subject: [PATCH] Update Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/NameRoutingTests.cs Co-Authored-By: Matias Quaranta --- .../Microsoft.Azure.Cosmos.EmulatorTests/NameRoutingTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/NameRoutingTests.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/NameRoutingTests.cs index 90bc6e7323..769facd171 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/NameRoutingTests.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/NameRoutingTests.cs @@ -1375,7 +1375,7 @@ public async Task TestInvalidPartitionKeyException() { createItemCount++; string pk = requestMessage.Headers.PartitionKey; - Assert.IsFalse(string.Equals(partitionKey, pk), $"Same PK value should not be sent again. PK value:{pk}"); + Assert.AreEqual(partitionKey, pk, $"Same PK value should not be sent again. PK value:{pk}"); partitionKey = pk; } };