@@ -46,7 +46,7 @@ |
||
46 | 46 | $this->settings_menu->init_settings(); |
47 | 47 | |
48 | 48 | $section_id = self::OPTION_NAME . '_section'; |
49 | - $this->assertContains(self::OPTION_NAME, $new_whitelist_options[$this->menu_slug] ); |
|
49 | + $this->assertContains( self::OPTION_NAME, $new_whitelist_options[$this->menu_slug] ); |
|
50 | 50 | $this->assertEquals( $section_id, $wp_settings_sections[$this->menu_slug][$section_id]['id'] ); |
51 | 51 | $this->assertEquals( 'Enable/Disable WP Site Monitor', $wp_settings_sections[$this->menu_slug][$section_id]['title'] ); |
52 | 52 | $this->assertEquals( self::OPTION_NAME, $wp_settings_fields[$this->menu_slug][$section_id][self::OPTION_NAME]['id'] ); |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | public function setUp() { |
20 | 20 | parent::setUp(); |
21 | 21 | |
22 | - (new Settings_Menu)->init_settings(); |
|
22 | + ( new Settings_Menu )->init_settings(); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -28,11 +28,11 @@ discard block |
||
28 | 28 | public function test_settings_unregistered_when_plugin_deactivated() { |
29 | 29 | global $wp_registered_settings; |
30 | 30 | |
31 | - $this->assertArrayHasKey(self::OPTION_NAME, $wp_registered_settings ); |
|
31 | + $this->assertArrayHasKey( self::OPTION_NAME, $wp_registered_settings ); |
|
32 | 32 | |
33 | 33 | WP_Site_Monitor::deactivate(); |
34 | 34 | |
35 | - $this->assertArrayNotHasKey(self::OPTION_NAME, $wp_registered_settings ); |
|
35 | + $this->assertArrayNotHasKey( self::OPTION_NAME, $wp_registered_settings ); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |