Revert lazy use of userId in ConfigService

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-05-12 11:11:45 +02:00
parent 3a783a722a
commit ce7da62a88
2 changed files with 11 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ class AppTest extends TestCase {
public function setUp(): void {
parent::setUp();
$this->app = new \OCA\Deck\AppInfo\Application();
$this->app = \OCP\Server::get(\OCA\Deck\AppInfo\Application::class);
$this->container = $this->app->getContainer();
}