Skip to content

Commit 39cc25d

Browse files
committed
Remove unused test for settings section registration
This test was no longer relevant and has been removed to clean up the codebase.
1 parent b1c9c1d commit 39cc25d

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

tests/phpunit/includes/classes/Fixes/Fix/MetaViewportScalableFixTest.php

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,6 @@ protected function get_fix_class_name(): string {
6464
return MetaViewportScalableFix::class;
6565
}
6666

67-
/**
68-
* Test that register adds settings sections.
69-
*
70-
* @return void
71-
*/
72-
public function test_register_adds_settings_sections() {
73-
$this->fix->register();
74-
75-
$sections = apply_filters( 'edac_filter_fixes_settings_sections', [] );
76-
$this->assertArrayHasKey( 'meta-viewport-scalable', $sections );
77-
}
78-
7967
/**
8068
* Test viewport manipulation functionality.
8169
*
@@ -84,7 +72,7 @@ public function test_register_adds_settings_sections() {
8472
public function test_viewport_tag_modification() {
8573
update_option( 'edac_fix_meta_viewport_scalable', true );
8674
$this->fix->run();
87-
75+
8876
// Test frontend data filter.
8977
$data = apply_filters( 'edac_filter_frontend_fixes_data', [] );
9078
$this->assertArrayHasKey( 'meta_viewport_scalable', $data );

0 commit comments

Comments
 (0)