File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
webauthn-server-attestation/src/test/scala/com/yubico/webauthn/attestation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ import org.bouncycastle.asn1.DEROctetString
6
6
import org .bouncycastle .asn1 .x500 .X500Name
7
7
import org .junit .runner .RunWith
8
8
import org .scalatest .funspec .AnyFunSpec
9
- import org .scalatest .matchers .should .Matchers . convertToAnyShouldWrapper
9
+ import org .scalatest .matchers .should .Matchers
10
10
import org .scalatestplus .junit .JUnitRunner
11
11
12
12
import java .security .cert .X509Certificate
13
13
14
14
@ RunWith (classOf [JUnitRunner ])
15
- class CertificateUtilSpec extends AnyFunSpec {
15
+ class CertificateUtilSpec extends AnyFunSpec with Matchers {
16
16
describe(" parseFidoSerNumExtension" ) {
17
17
val idFidoGenCeSernum = " 1.3.6.1.4.1.45724.1.1.2"
18
18
it(" should correctly parse the serial number from a valid certificate with the id-fido-gen-ce-sernum extension." ) {
@@ -36,7 +36,7 @@ class CertificateUtilSpec extends AnyFunSpec {
36
36
.parseFidoSerNumExtension(goodCert)
37
37
.get
38
38
)
39
- result.shouldEqual (ByteArray .fromHex(" 00010203" ));
39
+ result should equal (ByteArray .fromHex(" 00010203" ))
40
40
}
41
41
42
42
}
You can’t perform that action at this time.
0 commit comments