Add test setup for notification feature (#61)

* Add test case for notification feature

* Fix template data

* bash is needed to interpret test

* Do not use bashisms in test

* Only print FullPath

* Fix assertion
This commit is contained in:
Frederik Ring
2022-02-12 20:28:38 +01:00
committed by GitHub
parent 34d04211eb
commit e6af6efd8a
4 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
{{ define "title_success" -}}
Successful test run, yay!
{{- end }}
{{ define "body_success" -}}
Backing up {{ .Stats.BackupFile.FullPath }} succeeded.
{{- end }}