1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-21 01:39:59 +02:00
immich/mobile/openapi/test/user_api_test.dart
Sam Holton 7a4ae7d142
feat(server,web): add force delete to immediately remove user (#7681)
* feat(server,web): add force delete to immediately remove user

* update wording on force delete confirmation

* fix force delete css

* PR feedback

* cleanup user service delete for force

* adding user status column

* some cleanup and tests

* more test fixes

* run npm run sql:generate

* chore: cleanup and websocket

* chore: linting

* userRepository.restore

* removed bad color class from delete-confirm-dialoge

* additional confirmation for user force delete

* shorten confirmation message

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-03-08 17:49:39 -05:00

72 lines
1.7 KiB
Dart
Generated

//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
import 'package:openapi/api.dart';
import 'package:test/test.dart';
/// tests for UserApi
void main() {
// final instance = UserApi();
group('tests for UserApi', () {
//Future<CreateProfileImageResponseDto> createProfileImage(MultipartFile file) async
test('test createProfileImage', () async {
// TODO
});
//Future<UserResponseDto> createUser(CreateUserDto createUserDto) async
test('test createUser', () async {
// TODO
});
//Future deleteProfileImage() async
test('test deleteProfileImage', () async {
// TODO
});
//Future<UserResponseDto> deleteUser(String id, DeleteUserDto deleteUserDto) async
test('test deleteUser', () async {
// TODO
});
//Future<List<UserResponseDto>> getAllUsers(bool isAll) async
test('test getAllUsers', () async {
// TODO
});
//Future<UserResponseDto> getMyUserInfo() async
test('test getMyUserInfo', () async {
// TODO
});
//Future<MultipartFile> getProfileImage(String id) async
test('test getProfileImage', () async {
// TODO
});
//Future<UserResponseDto> getUserById(String id) async
test('test getUserById', () async {
// TODO
});
//Future<UserResponseDto> restoreUser(String id) async
test('test restoreUser', () async {
// TODO
});
//Future<UserResponseDto> updateUser(UpdateUserDto updateUserDto) async
test('test updateUser', () async {
// TODO
});
});
}