Fixed naming
This commit is contained in:
@@ -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": `)
|
||||
Reference in New Issue
Block a user