Skip to content

Commit 5c3bb6b

Browse files
Copilotswissspidy
andcommitted
Combine disallow-file-mods and no-languages test plugins into one
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 22218eb commit 5c3bb6b

3 files changed

Lines changed: 1 addition & 12 deletions

File tree

.wp-env.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"plugins": [
44
".",
55
"./tests/e2e/plugins/custom-internationalized-plugin",
6-
"./tests/e2e/plugins/disallow-file-mods",
76
"./tests/e2e/plugins/merge-translations",
87
"./tests/e2e/plugins/no-languages",
98
"./tests/e2e/plugins/no-merge-translations"

tests/e2e/plugins/disallow-file-mods/disallow-file-mods.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/e2e/plugins/no-languages/no-languages.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
Domain Path: languages/
99
*/
1010

11+
add_filter( 'file_mod_allowed', '__return_false' );
1112
add_filter( 'get_available_languages', '__return_empty_array' );
1213
add_filter( 'wp_get_available_translations', '__return_empty_array' );

0 commit comments

Comments
 (0)