Skip to content

Commit

Permalink
Merge pull request #639 from WordPress/fix-two-factor-options-test
Browse files Browse the repository at this point in the history
Fix failing unit test
  • Loading branch information
kasparsd authored Sep 18, 2024
2 parents 8405126 + d59daca commit acd9e9c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/providers/class-two-factor-totp.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,6 @@ public function test_get_label() {
$this->assertStringContainsString( 'Authenticator app', $this->provider->get_label() );
}

/**
* Verify the options list is empty.
*
* @covers Two_Factor_Totp::user_two_factor_options
*/
public function test_user_two_factor_options_empty() {
$this->assertFalse( $this->provider->user_two_factor_options( get_current_user() ) );
}

/**
* Verify getting user options creates a key.
*
Expand Down

0 comments on commit acd9e9c

Please sign in to comment.