Skip to content

Commit adc9bc1

Browse files
committed
Update @Covers annotations with full namespace
Changed @Covers annotations in class-test-generic-object.php to use the fully qualified class name Activitypub\Activity\Generic_Object for improved clarity and accuracy in test coverage reporting.
1 parent 34c58ed commit adc9bc1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/phpunit/tests/includes/activity/class-test-generic-object.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function test_to_array() {
126126
* Tests that the quote property can be set from array.
127127
* Uses Base_Object which has the quote property defined.
128128
*
129-
* @covers Generic_Object::init_from_array
129+
* @covers Activitypub\Activity\Generic_Object::init_from_array
130130
*/
131131
public function test_init_from_array_quote_property() {
132132
$test_data = array(
@@ -146,7 +146,7 @@ public function test_init_from_array_quote_property() {
146146
*
147147
* Uses Base_Object which has the _misskey_quote property defined.
148148
*
149-
* @covers Generic_Object::init_from_array
149+
* @covers Activitypub\Activity\Generic_Object::init_from_array
150150
*/
151151
public function test_init_from_array_underscore_properties() {
152152
$test_data = array(
@@ -166,7 +166,7 @@ public function test_init_from_array_underscore_properties() {
166166
*
167167
* Uses Base_Object to verify quote properties can be set and retrieved.
168168
*
169-
* @covers Generic_Object::__call
169+
* @covers Activitypub\Activity\Generic_Object::__call
170170
*/
171171
public function test_quote_properties_set_and_get() {
172172
$object = new Base_Object();
@@ -185,7 +185,7 @@ public function test_quote_properties_set_and_get() {
185185
*
186186
* Uses Base_Object to verify _misskey_quote property can be set and retrieved.
187187
*
188-
* @covers Generic_Object::__call
188+
* @covers Activitypub\Activity\Generic_Object::__call
189189
*/
190190
public function test_underscore_properties_set_and_get() {
191191
$object = new Base_Object();

0 commit comments

Comments
 (0)