Skip to content

Commit

Permalink
Fix unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Aug 22, 2024
1 parent afe4a9f commit 2ab4c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tests/php/unit/Settings/SystemInfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class SystemInfoTest extends HCaptchaTestCase {
* @return void
*/
public function tearDown(): void {
unset( $GLOBALS['wpdb'], $_SERVER, $_SESSION );
unset( $GLOBALS['wpdb'], $_SERVER['SERVER_SOFTWARE'], $_SESSION );

parent::tearDown();
}
Expand Down

0 comments on commit 2ab4c1f

Please sign in to comment.