mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
refactor: mobile tag and download actions (#29948)
refactor: mobile tag and download action Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
1fa985babb
commit
bc84054ccc
15 changed files with 313 additions and 206 deletions
|
|
@ -17,8 +17,6 @@ void main() {
|
|||
|
||||
late MockAssetApiRepository assetApiRepository;
|
||||
late MockRemoteAssetRepository remoteAssetRepository;
|
||||
late MockDownloadRepository downloadRepository;
|
||||
late MockTagService tagService;
|
||||
|
||||
late Drift db;
|
||||
|
||||
|
|
@ -39,10 +37,8 @@ void main() {
|
|||
setUp(() {
|
||||
assetApiRepository = MockAssetApiRepository();
|
||||
remoteAssetRepository = MockRemoteAssetRepository();
|
||||
downloadRepository = MockDownloadRepository();
|
||||
tagService = MockTagService();
|
||||
|
||||
sut = ActionService(assetApiRepository, remoteAssetRepository, downloadRepository, tagService);
|
||||
sut = ActionService(assetApiRepository, remoteAssetRepository);
|
||||
});
|
||||
|
||||
tearDown(() async {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue