diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-15 16:02:24 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-15 16:02:24 +0100 |
commit | 68363f69443e4332b5433a7078cb7fca930a3ebe (patch) | |
tree | e78a44d8d7d56f8adb3582714aa03e5b28ae898f /apps/theming/tests/Themes/DefaultThemeTest.php | |
parent | c3d0b71f2fc78f4092cf43d642331706fd1f8e7d (diff) | |
download | nextcloud-server-68363f69443e4332b5433a7078cb7fca930a3ebe.tar.gz nextcloud-server-68363f69443e4332b5433a7078cb7fca930a3ebe.zip |
Fix some more problems with tests under PHP 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/theming/tests/Themes/DefaultThemeTest.php')
-rw-r--r-- | apps/theming/tests/Themes/DefaultThemeTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/tests/Themes/DefaultThemeTest.php b/apps/theming/tests/Themes/DefaultThemeTest.php index eb9f41d378f..73e5b14683a 100644 --- a/apps/theming/tests/Themes/DefaultThemeTest.php +++ b/apps/theming/tests/Themes/DefaultThemeTest.php @@ -22,7 +22,6 @@ */ namespace OCA\Theming\Tests\Service; -use OC\App\AppManager; use OCA\Theming\ImageManager; use OCA\Theming\ITheme; use OCA\Theming\Themes\DefaultTheme; @@ -37,10 +36,11 @@ use OCP\IUserSession; use PHPUnit\Framework\MockObject\MockObject; use Test\TestCase; - class DefaultThemeTest extends TestCase { /** @var ThemingDefaults|MockObject */ private $themingDefaults; + /** @var IUserSession|MockObject */ + private $userSession; /** @var IURLGenerator|MockObject */ private $urlGenerator; /** @var ImageManager|MockObject */ |