Passed
Push — master ( d406ab...3befbe )
by Benjamin
02:31
created
tests/test-settings-menu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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'] );
Please login to merge, or discard this patch.
tests/test-wp-site-monitor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 	/**
Please login to merge, or discard this patch.