1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-05-21 22:38:25 +02:00

Begin unit tests, relates to

This commit is contained in:
Philipp Heckel 2021-12-07 11:45:15 -05:00
parent da8f90d388
commit be50af0a7a
11 changed files with 198 additions and 61 deletions

12
server/cache_mem_test.go Normal file
View file

@ -0,0 +1,12 @@
package server
import (
"testing"
)
func TestMemCache_Messages(t *testing.T) {
testCacheMessages(t, newMemCache())
}
func TestMemCache_MessagesTagsPrioAndTitle(t *testing.T) {
testCacheMessagesTagsPrioAndTitle(t, newMemCache())
}