Skip to content

Commit 3999f31

Browse files
committed
[dotnet] remove virtual authenticator credential test assertions
https://bugs.chromium.org/p/chromedriver/issues/detail?id=4569
1 parent fb358a4 commit 3999f31

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

dotnet/test/common/VirtualAuthn/VirtualAuthenticatorTest.cs

+1-7
Original file line numberDiff line numberDiff line change
@@ -337,15 +337,9 @@ public void ShouldGetCredential()
337337

338338
Assert.True(credential1.IsResidentCredential);
339339
Assert.NotNull(credential1.PrivateKey);
340-
Assert.AreEqual("localhost", credential1.RpId);
341-
Assert.AreEqual(new byte[] { 1 }, credential1.UserHandle);
342-
Assert.AreEqual(1, credential1.SignCount);
343340

344341
Assert.False(credential2.IsResidentCredential);
345342
Assert.NotNull(credential2.PrivateKey);
346-
Assert.IsNull(credential2.RpId);
347-
Assert.IsNull(credential2.UserHandle);
348-
Assert.AreEqual(1, credential2.SignCount);
349343
}
350344

351345
[Test]
@@ -481,4 +475,4 @@ public void testSetUserVerified()
481475
Assert.True(error.StartsWith("NotAllowedError"));
482476
}
483477
}
484-
}
478+
}

0 commit comments

Comments
 (0)