2424
2525namespace lifecycletrigger_byrole ;
2626
27- use PHPUnit \Framework \Attributes \CoversNothing ;
2827use tool_lifecycle \processor ;
29- use tool_lifecycle \ local \ response \ trigger_response ;
28+
3029
3130defined ('MOODLE_INTERNAL ' ) || die ();
3231require_once (__DIR__ . '/../lib.php ' );
4039 * @copyright 2017 Tobias Reischmann WWU Nina Herrmann WWU
4140 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
4241 */
43- #[CoversNothing]
4442final class lifecycletrigger_byrole_test extends \advanced_testcase {
4543
4644 /** @var \tool_lifecycle\processor $processor Instance of the lifecycle processor */
@@ -66,7 +64,6 @@ protected function setUp(): void {
6664 * @throws \coding_exception
6765 * @throws \dml_exception
6866 */
69- #[CoversNothing]
7067 public function test_lib_validcourse (): void {
7168 global $ DB ;
7269 $ generator = $ this ->getDataGenerator ()->get_plugin_generator ('lifecycletrigger_byrole ' );
@@ -87,7 +84,6 @@ public function test_lib_validcourse(): void {
8784 * @throws \coding_exception
8885 * @throws \dml_exception
8986 */
90- #[CoversNothing]
9187 public function test_lib_norolecourse (): void {
9288 global $ DB ;
9389 $ generator = $ this ->getDataGenerator ()->get_plugin_generator ('lifecycletrigger_byrole ' );
@@ -109,7 +105,6 @@ public function test_lib_norolecourse(): void {
109105 * @throws \coding_exception
110106 * @throws \dml_exception
111107 */
112- #[CoversNothing]
113108 public function test_lib_norolefoundcourse (): void {
114109 global $ DB ;
115110 $ generator = $ this ->getDataGenerator ()->get_plugin_generator ('lifecycletrigger_byrole ' );
@@ -135,7 +130,6 @@ public function test_lib_norolefoundcourse(): void {
135130 * @throws \coding_exception
136131 * @throws \dml_exception
137132 */
138- #[CoversNothing]
139133 public function test_lib_rolefoundagain (): void {
140134 global $ DB ;
141135 $ generator = $ this ->getDataGenerator ()->get_plugin_generator ('lifecycletrigger_byrole ' );
0 commit comments