Skip to content

Commit

Permalink
clearer messages
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <alper_ozturk@proton.me>
  • Loading branch information
alperozturk96 committed Sep 5, 2024
1 parent 80e22e2 commit a90996c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,16 @@ class ContactsBackupIT : AbstractOnServerIT() {
).firstOrNull()

if (backupOCFile == null) {
fail("backup file cannot be null")
fail("backupOCFile cannot be null")
}

if (backupOCFile?.storagePath == null) {
fail("storage path cannot be null")
fail("backupOCFile.storagePath cannot be null")
}

assertTrue(DownloadFileOperation(user, backupOCFile, AbstractIT.targetContext).execute(client).isSuccess)

val backupFile = backupOCFile?.storagePath?.let { File(it) }

if (backupFile == null) {
fail("backupFile cannot be null")
}
Expand Down

0 comments on commit a90996c

Please sign in to comment.