mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-09-25 21:10:18 +02:00
Fix up APNs PR
This commit is contained in:
parent
9fbe7804dd
commit
6d15b9face
4 changed files with 29 additions and 35 deletions
|
@ -16,7 +16,7 @@ func TestCLI_WebPush_GenerateKeys(t *testing.T) {
|
|||
|
||||
func TestCLI_WebPush_WriteKeysToFile(t *testing.T) {
|
||||
app, _, _, stderr := newTestApp()
|
||||
require.Nil(t, runWebPushCommand(app, server.NewConfig(), "keys", "--key-file=key-file.yaml"))
|
||||
require.Nil(t, runWebPushCommand(app, server.NewConfig(), "keys", "--output-file=key-file.yaml"))
|
||||
require.Contains(t, stderr.String(), "Web Push keys written to key-file.yaml")
|
||||
require.FileExists(t, "key-file.yaml")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue