Skip to content

Commit 5baeff0

Browse files
author
hellofromtonya
committed
Fixes test naming.
1 parent 2f242e1 commit 5baeff0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,21 +214,21 @@ public function test_detect_cannot_create_folder() {
214214
}
215215

216216
/**
217-
* @dataProvider data_invalid_export_data_grouped_type_error
217+
* @dataProvider data_export_data_grouped_invalid_type
218218
*
219219
* @ticket 51423
220220
*
221221
* @param mixed $groups '_export_data_grouped' post meta value.
222222
*/
223-
public function test_doing_it_wrong_for_invalid_export_data_grouped_type( $groups ) {
223+
public function test_doing_it_wrong_for_export_data_grouped_invalid_type( $groups ) {
224224
update_post_meta( self::$export_request_id, '_export_data_grouped', $groups );
225225

226226
$this->setExpectedIncorrectUsage( 'wp_privacy_generate_personal_data_export_file' );
227227

228228
wp_privacy_generate_personal_data_export_file( self::$export_request_id );
229229
}
230230

231-
public function data_invalid_export_data_grouped_type_error() {
231+
public function data_export_data_grouped_invalid_type() {
232232
return array(
233233
array( 10 ),
234234
array( '10' ),

0 commit comments

Comments
 (0)