Skip to content

Commit

Permalink
remove side-effect from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Feb 10, 2025
1 parent 2c3c112 commit 0c75a01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/rating/test.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public function tearDown(): void
{
global $config, $user_config;
$config->set_array("ext_rating_user_privs", ["?", "s", "q", "e"]);
$config->set_array("ext_rating_anonymous_privs", ["?", "s", "q", "e"]);

$this->log_in_as_user();
$user_config->set_array(RatingsConfig::USER_DEFAULTS, ["?", "s", "q", "e"]);
Expand Down

0 comments on commit 0c75a01

Please sign in to comment.