From ad02052b8c5220a55dcb2f283f6eccae31518bf2 Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Wed, 26 Aug 2020 12:34:09 +0300 Subject: [PATCH] Update the tests to match the new names --- tests/providers/class-two-factor-fido-u2f.php | 2 +- tests/providers/class-two-factor-totp.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/providers/class-two-factor-fido-u2f.php b/tests/providers/class-two-factor-fido-u2f.php index 797296cb..833e2e83 100644 --- a/tests/providers/class-two-factor-fido-u2f.php +++ b/tests/providers/class-two-factor-fido-u2f.php @@ -50,7 +50,7 @@ public function setUp() { * Verify the label value. */ public function test_get_label() { - $this->assertContains( 'FIDO Universal 2nd Factor (U2F)', $this->provider->get_label() ); + $this->assertContains( 'FIDO U2F Security Keys', $this->provider->get_label() ); } /** diff --git a/tests/providers/class-two-factor-totp.php b/tests/providers/class-two-factor-totp.php index 75247c0c..be5e72c5 100644 --- a/tests/providers/class-two-factor-totp.php +++ b/tests/providers/class-two-factor-totp.php @@ -57,7 +57,7 @@ public function test_get_instance() { * @covers Two_Factor_Totp::get_label */ public function test_get_label() { - $this->assertContains( 'Google Authenticator', $this->provider->get_label() ); + $this->assertContains( 'Time Based One-Time Password (TOTP)', $this->provider->get_label() ); } /**