From 05ac4f3d35852097b80c42a020e8531a304d2861 Mon Sep 17 00:00:00 2001 From: Mohammad Farouk Date: Fri, 24 May 2024 19:38:30 +0300 Subject: [PATCH] adding a coversDefaultClass tag see #25 --- tests/coupons_test.php | 1 + tests/enrol_wallet_test.php | 1 + tests/externallib_test.php | 1 + tests/notifications_test.php | 1 + tests/observer_test.php | 1 + tests/payment/service_provider_test.php | 2 +- tests/transactions_test.php | 1 + tests/turn_non_refundable_test.php | 1 + tests/util/balance_op_test.php | 1 + tests/util/instance_test.php | 1 + 10 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/coupons_test.php b/tests/coupons_test.php index 74e6664d..21d1d819 100644 --- a/tests/coupons_test.php +++ b/tests/coupons_test.php @@ -30,6 +30,7 @@ * @category test * @copyright 2024 2024, Mohammad Farouk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @coversDefaultClass \enrol_wallet\coupons */ final class coupons_test extends \advanced_testcase { diff --git a/tests/enrol_wallet_test.php b/tests/enrol_wallet_test.php index 9e03e867..14641dbe 100644 --- a/tests/enrol_wallet_test.php +++ b/tests/enrol_wallet_test.php @@ -38,6 +38,7 @@ * @package enrol_wallet * @copyright 2023 Mo Farouk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @coversDefaultClass \enrol_wallet_plugin */ final class enrol_wallet_test extends \advanced_testcase { /** diff --git a/tests/externallib_test.php b/tests/externallib_test.php index d8ec771a..91d8b0a4 100644 --- a/tests/externallib_test.php +++ b/tests/externallib_test.php @@ -31,6 +31,7 @@ * @copyright 2023 Mohammad Farouk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @runTestsInSeparateProcesses + * @coversDefaultClass \enrol_wallet_external */ final class externallib_test extends externallib_advanced_testcase { diff --git a/tests/notifications_test.php b/tests/notifications_test.php index ed1e9e1c..461aacf8 100644 --- a/tests/notifications_test.php +++ b/tests/notifications_test.php @@ -31,6 +31,7 @@ * @package enrol_wallet * @copyright 2023 Mo Farouk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @coversDefaultClass \enrol_wallet\notifications */ final class notifications_test extends \advanced_testcase { /** diff --git a/tests/observer_test.php b/tests/observer_test.php index 23e4c483..edba8326 100644 --- a/tests/observer_test.php +++ b/tests/observer_test.php @@ -37,6 +37,7 @@ * @package enrol_wallet * @copyright 2023 Mo Farouk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @coversDefaultClass \enrol_wallet\observer */ final class observer_test extends \advanced_testcase { /** diff --git a/tests/payment/service_provider_test.php b/tests/payment/service_provider_test.php index 33380902..55f6a258 100644 --- a/tests/payment/service_provider_test.php +++ b/tests/payment/service_provider_test.php @@ -28,7 +28,7 @@ use enrol_wallet\util\instance; /** * Unit tests for the enrol_wallet's payment subsystem callback implementation. - * + * @coversDefaultClass \enrol_wallet\payment\service_provider */ final class service_provider_test extends \advanced_testcase { diff --git a/tests/transactions_test.php b/tests/transactions_test.php index c5829463..164cbb8f 100644 --- a/tests/transactions_test.php +++ b/tests/transactions_test.php @@ -33,6 +33,7 @@ * @package enrol_wallet * @copyright 2023 Mo Farouk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @coversDefaultClass \enrol_wallet\transactions */ final class transactions_test extends \advanced_testcase { diff --git a/tests/turn_non_refundable_test.php b/tests/turn_non_refundable_test.php index 9721ad3d..2bf5dbfc 100644 --- a/tests/turn_non_refundable_test.php +++ b/tests/turn_non_refundable_test.php @@ -33,6 +33,7 @@ * @package enrol_wallet * @copyright 2023 Mo Farouk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @coversDefaultClass \enrol_wallet\task\turn_non_refundable */ final class turn_non_refundable_test extends \advanced_testcase { /** diff --git a/tests/util/balance_op_test.php b/tests/util/balance_op_test.php index c2a9c288..d7ca3987 100644 --- a/tests/util/balance_op_test.php +++ b/tests/util/balance_op_test.php @@ -35,6 +35,7 @@ * @category test * @copyright 2024 Mohammad Farouk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @coversDefaultClass \enrol_wallet\util\balance_op */ final class balance_op_test extends \advanced_testcase { /** diff --git a/tests/util/instance_test.php b/tests/util/instance_test.php index 52929983..93bb3d4f 100644 --- a/tests/util/instance_test.php +++ b/tests/util/instance_test.php @@ -30,6 +30,7 @@ * @category test * @copyright 2024 2024, Mohammad Farouk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @coversDefaultClass \enrol_wallet\util\instance */ final class instance_test extends \advanced_testcase { /**