1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-22 17:52:30 +01:00

Fix test, changelog

This commit is contained in:
Philipp Heckel 2022-07-01 09:37:20 -04:00
parent 95bd876be2
commit e8953aea3b
2 changed files with 1 additions and 1 deletions

View file

@ -35,6 +35,7 @@ Thank you to [@wunter8](https://github.com/wunter8) for proactively picking up s
**Bugs:**
* `ntfy user` commands don't work with `auth_file` but works with `auth-file` ([#344](https://github.com/binwiederhier/ntfy/issues/344), thanks to [@Histalek](https://github.com/Histalek) for reporting)
* Ignore new draft HTTP `Priority` header ([#351](https://github.com/binwiederhier/ntfy/issues/351), thanks to [@ksurl](https://github.com/ksurl) for reporting)
**Documentation:**

View file

@ -70,7 +70,6 @@ func TestParsePriority_Invalid(t *testing.T) {
func TestParsePriority_HTTPSpecPriority(t *testing.T) {
priorities := []string{"u=1", "u=3", "u=7, i"} // see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-priority
for _, priority := range priorities {
_, err := ParsePriority(priority)
actual, err := ParsePriority(priority)
require.Nil(t, err)
require.Equal(t, 3, actual) // Always expect 3!