Changeset 46693
- Timestamp:
- 11/10/2019 01:53:17 AM (5 years ago)
- Location:
- trunk/tests/phpunit/tests/ajax
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/PrivacyErasePersonalData.php
r46644 r46693 313 313 * Test requests do not succeed on multisite when the current user is not a network admin. 314 314 * 315 * @ticket 43438 315 316 * @group multisite 316 * 317 * @ticket 43438 317 * @group ms-required 318 318 */ 319 319 public function test_error_when_current_user_missing_required_capabilities_multisite() { 320 if ( ! is_multisite() ) {321 $this->markTestSkipped( 'This test only runs on multisite.' );322 }323 324 320 revoke_super_admin( get_current_user_id() ); 325 321 -
trunk/tests/phpunit/tests/ajax/PrivacyExportPersonalData.php
r46644 r46693 274 274 * Test requests do not succeed on multisite when the current user is not a network admin. 275 275 * 276 * @ticket 43438 276 277 * @group multisite 277 * 278 * @ticket 43438 278 * @group ms-required 279 279 */ 280 280 public function test_error_when_current_user_missing_required_capability_multisite() { 281 if ( ! is_multisite() ) {282 $this->markTestSkipped( 'This test only runs on multisite.' );283 }284 285 281 revoke_super_admin( get_current_user_id() ); 286 282
Note: See TracChangeset
for help on using the changeset viewer.