Skip to content

Commit c53a496

Browse files
committed
Add missing tests
1 parent 6370fbb commit c53a496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Attestation/AuthenticatorDataTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function testConstructor(): void
3030
$this->assertTrue($o->isUserPresent());
3131
$this->assertTrue($o->isUserVerified());
3232
$this->assertEquals(0, $o->getSignatureCount());
33-
$this->assertEquals(
33+
$this->assertCommandOutput(
3434
getPublicKeyPemTestData(),
3535
$o->getPublicKeyPEM()
3636
);
@@ -224,7 +224,7 @@ public function testGetPublicKeyPEMEC2(): void
224224

225225
// $this->expectException(WebauthnException::class);
226226
$res = $o->getPublicKeyPEM();
227-
$this->assertEquals(
227+
$this->assertCommandOutput(
228228
'-----BEGIN PUBLIC KEY-----
229229
MBkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDAgAE
230230
-----END PUBLIC KEY-----

0 commit comments

Comments
 (0)