Skip to content

Commit

Permalink
Merge pull request #37585 from owncloud/simplify-adminSetsServerParam…
Browse files Browse the repository at this point in the history
…eterToUsingAPI

[Tests-Only] Simplify adminSetsServerParameterToUsingAPI
  • Loading branch information
phil-davis authored Jun 24, 2020
2 parents b31b435 + bb7e9ff commit f570e04
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ class AppConfigurationContext implements Context {
public function adminSetsServerParameterToUsingAPI(
$parameter, $app, $value
) {
$user = $this->featureContext->getCurrentUser();
$this->featureContext->setCurrentUser($this->featureContext->getAdminUsername());

$this->modifyAppConfig($app, $parameter, $value);

$this->featureContext->setCurrentUser($user);
}

/**
Expand Down

0 comments on commit f570e04

Please sign in to comment.