diff --git src/bp-members/classes/class-bp-members-component.php src/bp-members/classes/class-bp-members-component.php
index a83344feb..73b63348b 100644
|
|
class BP_Members_Component extends BP_Component { |
473 | 473 | */ |
474 | 474 | 'BP_REST_Components_Endpoint', |
475 | 475 | 'BP_REST_Members_Endpoint', |
476 | | 'BP_REST_Attachments_Member_Avatar_Endpoint', |
477 | 476 | ) ); |
478 | 477 | } |
479 | 478 | } |
diff --git src/bp-xprofile/classes/class-bp-xprofile-component.php src/bp-xprofile/classes/class-bp-xprofile-component.php
index b43879d34..49ae02dd5 100644
|
|
class BP_XProfile_Component extends BP_Component { |
503 | 503 | 'BP_REST_XProfile_Fields_Endpoint', |
504 | 504 | 'BP_REST_XProfile_Field_Groups_Endpoint', |
505 | 505 | 'BP_REST_XProfile_Data_Endpoint', |
| 506 | 'BP_REST_Attachments_Member_Avatar_Endpoint', |
506 | 507 | ) ); |
507 | 508 | } |
508 | 509 | } |
diff --git tests/phpunit/testcases/core/class-bp-component.php tests/phpunit/testcases/core/class-bp-component.php
index bb8ad1b90..c5a5dd2b6 100644
|
|
class BP_Tests_BP_Component_TestCases extends BP_UnitTestCase { |
32 | 32 | $this->assertSame( $bp->unit_test_rest->controllers, array( |
33 | 33 | 'BP_REST_Components_Endpoint', |
34 | 34 | 'BP_REST_Members_Endpoint', |
35 | | 'BP_REST_Attachments_Member_Avatar_Endpoint', |
36 | 35 | ) ); |
37 | 36 | } |
38 | 37 | |
… |
… |
class BP_Tests_BP_Component_TestCases extends BP_UnitTestCase { |
48 | 47 | |
49 | 48 | $this->assertSame( $bp->unit_test_rest->controllers, array( |
50 | 49 | 'BP_REST_Components_Endpoint', |
51 | | 'BP_REST_Attachments_Member_Avatar_Endpoint', |
52 | 50 | ) ); |
53 | 51 | } |
54 | 52 | |
… |
… |
class BP_Tests_BP_Component_TestCases extends BP_UnitTestCase { |
65 | 63 | $this->assertSame( $bp->unit_test_rest->controllers, array( |
66 | 64 | 'BP_REST_Components_Endpoint', |
67 | 65 | 'BP_REST_Members_Endpoint', |
68 | | 'BP_REST_Attachments_Member_Avatar_Endpoint', |
69 | 66 | ) ); |
70 | 67 | } |
71 | 68 | } |