@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | */ |
| 33 | 33 | public function test_init_settings_is_registered_to_admin_init_hook() { |
| 34 | 34 | // Make sure is_admin() returns true. |
| 35 | - set_current_screen('index.php'); |
|
| 35 | + set_current_screen( 'index.php' ); |
|
| 36 | 36 | |
| 37 | 37 | $plugin = new WP_Site_Monitor(); |
| 38 | 38 | |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | */ |
| 45 | 45 | public function test_display_settings_page_is_registered_to_admin_menu_hook() { |
| 46 | 46 | // Make sure is_admin() returns true. |
| 47 | - set_current_screen('index.php'); |
|
| 47 | + set_current_screen( 'index.php' ); |
|
| 48 | 48 | |
| 49 | 49 | $plugin = new WP_Site_Monitor(); |
| 50 | 50 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $this->settings_menu->init_settings(); |
| 72 | 72 | |
| 73 | 73 | $section_id = self::OPTION_NAME . '_section'; |
| 74 | - $this->assertContains(self::OPTION_NAME, $new_whitelist_options[self::OPTION_GROUP] ); |
|
| 74 | + $this->assertContains( self::OPTION_NAME, $new_whitelist_options[self::OPTION_GROUP] ); |
|
| 75 | 75 | $this->assertEquals( $section_id, $wp_settings_sections[self::OPTION_GROUP][$section_id]['id'] ); |
| 76 | 76 | $this->assertEquals( 'Enable/Disable WP Site Monitor', $wp_settings_sections[self::OPTION_GROUP][$section_id]['title'] ); |
| 77 | 77 | $this->assertEquals( self::OPTION_NAME, $wp_settings_fields[self::OPTION_GROUP][$section_id][self::OPTION_NAME]['id'] ); |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | */ |
| 84 | 84 | public function test_settings_menu_template_is_included() { |
| 85 | 85 | // Hide template output |
| 86 | - $this->setOutputCallback(function() {}); |
|
| 86 | + $this->setOutputCallback( function() {}); |
|
| 87 | 87 | |
| 88 | 88 | $this->settings_menu->settings_page_html(); |
| 89 | 89 | |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | public function test_setting_section_template_is_included() { |
| 98 | 98 | // Hide template output |
| 99 | - $this->setOutputCallback(function() {}); |
|
| 99 | + $this->setOutputCallback( function() {}); |
|
| 100 | 100 | |
| 101 | 101 | $this->settings_menu->setting_section_html( array() ); |
| 102 | 102 | |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | */ |
| 110 | 110 | public function test_setting_input_template_is_included() { |
| 111 | 111 | // Hide template output |
| 112 | - $this->setOutputCallback(function() {}); |
|
| 112 | + $this->setOutputCallback( function() {}); |
|
| 113 | 113 | |
| 114 | 114 | $this->settings_menu->setting_input_html(); |
| 115 | 115 | |