Skip to content

Commit

Permalink
fix(tests): Adjust unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Nov 8, 2023
1 parent 6000c17 commit a395745
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Controller/ActivitiesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ActivitiesController extends Controller {
public function __construct(
string $appName,
IRequest $request,
private string $userId,
private ?string $userId,
private IConfig $config,
private Data $data,
private IL10N $l10n,
Expand Down
2 changes: 0 additions & 2 deletions tests/AppInfo/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
use OCA\Activity\GroupHelper;
use OCA\Activity\GroupHelperDisabled;
use OCA\Activity\MailQueueHandler;
use OCA\Activity\Navigation;
use OCA\Activity\Tests\TestCase;
use OCA\Activity\UserSettings;
use OCA\Activity\ViewInfoCache;
Expand Down Expand Up @@ -95,7 +94,6 @@ public function queryData(): array {
[GroupHelperDisabled::class],
[GroupHelperDisabled::class, GroupHelper::class],
[MailQueueHandler::class],
[Navigation::class],
[UserSettings::class],
[ViewInfoCache::class],

Expand Down

0 comments on commit a395745

Please sign in to comment.