Skip to content

Commit 641b496

Browse files
committed
Reduce minSuccessful count in JsonIoSpecs
1 parent 8c35beb commit 641b496

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webauthn-server-attestation/src/test/scala/com/yubico/fido/metadata/JsonIoSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class JsonIoSpec
4848
val cn = tpe.getType.getTypeName
4949
describe(s"${cn}") {
5050
it("is identical after multiple serialization round-trips.") {
51-
forAll { value: A =>
51+
forAll(minSuccessful(10)) { value: A =>
5252
val encoded: String = json.writeValueAsString(value)
5353
val decoded: A = json.readValue(encoded, tpe)
5454
decoded should equal(value)

webauthn-server-core/src/test/scala/com/yubico/webauthn/data/JsonIoSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class JsonIoSpec
6262
val cn = tpe.getType.getTypeName
6363
describe(s"${cn}") {
6464
it("is identical after multiple serialization round-trips..") {
65-
forAll { value: A =>
65+
forAll(minSuccessful(10)) { value: A =>
6666
val encoded: String = json.writeValueAsString(value)
6767

6868
val decoded: A = json.readValue(encoded, tpe)

0 commit comments

Comments
 (0)