mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-23 23:37:45 +02:00
Docs, LoadConfig, config test
This commit is contained in:
parent
66c749d5f0
commit
68d881291c
11 changed files with 130 additions and 41 deletions
server
|
@ -408,6 +408,9 @@ func TestServer_PollWithQueryFilters(t *testing.T) {
|
|||
queriesThatShouldReturnMessageOne := []string{
|
||||
"/mytopic/json?poll=1&priority=1",
|
||||
"/mytopic/json?poll=1&priority=min",
|
||||
"/mytopic/json?poll=1&priority=min,low",
|
||||
"/mytopic/json?poll=1&priority=1,2",
|
||||
"/mytopic/json?poll=1&p=2,min",
|
||||
"/mytopic/json?poll=1&tags=tag1",
|
||||
"/mytopic/json?poll=1&tags=tag1,tag2",
|
||||
"/mytopic/json?poll=1&message=my+first+message",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue