mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 18:38:48 +01:00
Tweak comments
This commit is contained in:
parent
1595d741c3
commit
ea32fd51dd
1 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ void main() {
|
|||
|
||||
/// Unshare an empty album with a user (user1)
|
||||
///
|
||||
/// Expect: share (admin -> user1) removed from album's shares list;
|
||||
/// Expect: user (admin -> user1) removed from album's shares list;
|
||||
/// share (admin -> user1) for the album json deleted
|
||||
Future<void> _unshareWithoutFile() async {
|
||||
final account = test_util.buildAccount();
|
||||
|
@ -64,7 +64,7 @@ Future<void> _unshareWithoutFile() async {
|
|||
|
||||
/// Unshare an album with a user (user1)
|
||||
///
|
||||
/// Expect: share (admin -> user1) removed from album's shares list;
|
||||
/// Expect: user (admin -> user1) removed from album's shares list;
|
||||
/// share (admin -> user1) for the album json deleted;
|
||||
/// shares (admin -> user1) for the album files deleted
|
||||
Future<void> _unshareWithFile() async {
|
||||
|
@ -124,10 +124,10 @@ Future<void> _unshareWithFile() async {
|
|||
/// Unshare an album with a user (user1), where some files are not owned by us
|
||||
/// (admin)
|
||||
///
|
||||
/// Expect: share (admin -> user1) removed from album's shares list;
|
||||
/// Expect: user (admin -> user1) removed from album's shares list;
|
||||
/// share (admin -> user1) for the album json deleted;
|
||||
/// shares (admin -> user1) for the owned album files deleted;
|
||||
/// shares (user2 -> user1) are left unchanged
|
||||
/// shares (user2 -> user1) created by other unchanged
|
||||
Future<void> _unshareWithFileNotOwned() async {
|
||||
final account = test_util.buildAccount();
|
||||
final albumFile = test_util.buildAlbumFile(
|
||||
|
|
Loading…
Reference in a new issue