mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-24 02:20:59 +02:00
fix(reenrich): preserve release identity in batch actions
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:spotiflac_android/utils/re_enrich_release_policy.dart';
|
||||
|
||||
void main() {
|
||||
test(
|
||||
'only deliberate single-file re-enrich can replace release identity',
|
||||
() {
|
||||
expect(
|
||||
allowsReleaseIdentityReplacement(ReEnrichOperationScope.singleFile),
|
||||
isTrue,
|
||||
);
|
||||
expect(
|
||||
allowsReleaseIdentityReplacement(ReEnrichOperationScope.batch),
|
||||
isFalse,
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user