From 5d91ba63e793422c064dc3fbd6ab59db698a5e43 Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Fri, 10 Feb 2023 15:03:49 -0800 Subject: [PATCH] Tests: Add provider `@group` attributes for convenience. --- tests/providers/class-two-factor-backup-codes-rest-api.php | 1 + tests/providers/class-two-factor-backup-codes.php | 1 + tests/providers/class-two-factor-dummy.php | 1 + tests/providers/class-two-factor-email.php | 1 + tests/providers/class-two-factor-fido-u2f.php | 1 + tests/providers/class-two-factor-totp-rest-api.php | 1 + tests/providers/class-two-factor-totp.php | 1 + 7 files changed, 7 insertions(+) diff --git a/tests/providers/class-two-factor-backup-codes-rest-api.php b/tests/providers/class-two-factor-backup-codes-rest-api.php index a9db798e..368f3230 100644 --- a/tests/providers/class-two-factor-backup-codes-rest-api.php +++ b/tests/providers/class-two-factor-backup-codes-rest-api.php @@ -10,6 +10,7 @@ * * @package Two_Factor * @group providers + * @group backup-codes */ class Tests_Two_Factor_Backup_Codes_REST_API extends WP_Test_REST_TestCase { diff --git a/tests/providers/class-two-factor-backup-codes.php b/tests/providers/class-two-factor-backup-codes.php index a198f6f0..84033bbd 100644 --- a/tests/providers/class-two-factor-backup-codes.php +++ b/tests/providers/class-two-factor-backup-codes.php @@ -10,6 +10,7 @@ * * @package Two_Factor * @group providers + * @group backup-codes */ class Tests_Two_Factor_Backup_Codes extends WP_UnitTestCase { diff --git a/tests/providers/class-two-factor-dummy.php b/tests/providers/class-two-factor-dummy.php index f7589b87..12765804 100644 --- a/tests/providers/class-two-factor-dummy.php +++ b/tests/providers/class-two-factor-dummy.php @@ -10,6 +10,7 @@ * * @package Two_Factor * @group providers + * @group dummy */ class Tests_Two_Factor_Dummy extends WP_UnitTestCase { diff --git a/tests/providers/class-two-factor-email.php b/tests/providers/class-two-factor-email.php index 2f52a489..ef138116 100644 --- a/tests/providers/class-two-factor-email.php +++ b/tests/providers/class-two-factor-email.php @@ -10,6 +10,7 @@ * * @package Two_Factor * @group providers + * @group email */ class Tests_Two_Factor_Email extends WP_UnitTestCase { diff --git a/tests/providers/class-two-factor-fido-u2f.php b/tests/providers/class-two-factor-fido-u2f.php index e364f04e..1c529c15 100644 --- a/tests/providers/class-two-factor-fido-u2f.php +++ b/tests/providers/class-two-factor-fido-u2f.php @@ -10,6 +10,7 @@ * * @package Two_Factor * @group providers + * @group u2f */ class Tests_Two_Factor_FIDO_U2F extends WP_UnitTestCase { diff --git a/tests/providers/class-two-factor-totp-rest-api.php b/tests/providers/class-two-factor-totp-rest-api.php index 67e3cec0..0dfc38bf 100644 --- a/tests/providers/class-two-factor-totp-rest-api.php +++ b/tests/providers/class-two-factor-totp-rest-api.php @@ -10,6 +10,7 @@ * * @package Two_Factor * @group providers + * @group totp */ class Tests_Two_Factor_Totp_REST_API extends WP_Test_REST_TestCase { diff --git a/tests/providers/class-two-factor-totp.php b/tests/providers/class-two-factor-totp.php index c50f14ae..a363e4ac 100644 --- a/tests/providers/class-two-factor-totp.php +++ b/tests/providers/class-two-factor-totp.php @@ -10,6 +10,7 @@ * * @package Two_Factor * @group providers + * @group totp */ class Tests_Two_Factor_Totp extends WP_UnitTestCase {