Skip to content

Commit

Permalink
Tests: Ignore disable_core_ui_on_frontend() coverage
Browse files Browse the repository at this point in the history
It's a simple controller, so testing has minimal value.
  • Loading branch information
iandunn committed Nov 28, 2022
1 parent 597ce01 commit 31aabc6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wporg-two-factor.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ function render_enable_2fa_notice() : void {

/**
* Disable the Two Factor 2FA interface on the front-end (ie. bbPress profiles).
*
* We may add this back when we redesign the UI, but it's more likely that we'll write our own custom interface.
*
* @codeCoverageIgnore
*/
function disable_core_ui_on_frontend() : void {
if ( ! is_admin() ) {
Expand Down

0 comments on commit 31aabc6

Please sign in to comment.