Fixed naming

This commit is contained in:
Nedim
2023-09-14 08:10:33 +02:00
parent 1353404aed
commit dcf1652dd9
8 changed files with 1 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ func runTestServer() *httptest.Server {
func TestSaveDeviceInfofunc(t *testing.T) {
ts := runTestServer()
defer ts.Close()
defer shared.CloseDb()
t.Run("it should return 400 when JSON payload is invalid", func(t *testing.T) {
payload := []byte(`{"InvalidPayload": `)