diff --git a/testsDependency/BaconQRCodeTest.php b/testsDependency/BaconQRCodeTest.php index 4c224c9..2a23061 100644 --- a/testsDependency/BaconQRCodeTest.php +++ b/testsDependency/BaconQRCodeTest.php @@ -22,7 +22,7 @@ class BaconQRCodeTest extends TestCase $tfa = new TwoFactorAuth('Test&Issuer', 6, 30, Algorithm::Sha1, $qr); $data = $this->DecodeDataUri($tfa->getQRCodeImageAsDataUri('Test&Label', 'VMR466AB62ZBOKHE')); - $this->assertEquals('image/svg+xml', $data['mimetype']); + $this->assertSame('image/svg+xml', $data['mimetype']); } public function testBadTextColour(): void diff --git a/testsDependency/EndroidQRCodeTest.php b/testsDependency/EndroidQRCodeTest.php index 4b84dd2..6bd59fe 100644 --- a/testsDependency/EndroidQRCodeTest.php +++ b/testsDependency/EndroidQRCodeTest.php @@ -19,8 +19,8 @@ class EndroidQRCodeTest extends TestCase $qr = new EndroidQrCodeProvider(); $tfa = new TwoFactorAuth('Test&Issuer', 6, 30, Algorithm::Sha1, $qr); $data = $this->DecodeDataUri($tfa->getQRCodeImageAsDataUri('Test&Label', 'VMR466AB62ZBOKHE')); - $this->assertEquals('image/png', $data['mimetype']); - $this->assertEquals('base64', $data['encoding']); + $this->assertSame('image/png', $data['mimetype']); + $this->assertSame('base64', $data['encoding']); $this->assertNotEmpty($data['data']); } }