mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-21 15:53:32 +01:00
Fix incorrect require due to typo
This commit is contained in:
parent
95758e2c91
commit
ece28c2f40
@ -174,7 +174,7 @@ func TestDumpRequestAndResponse(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
dumpRequests = make([]*shared.DumpRequest, 0)
|
||||
require.NoError(t, json.Unmarshal(respBody, &dumpRequests))
|
||||
require.Len(t, dumpRequest, 1)
|
||||
require.Len(t, dumpRequests, 1)
|
||||
dumpRequest = dumpRequests[0]
|
||||
require.Equal(t, otherDev2, dumpRequest.RequestingDeviceId)
|
||||
require.Equal(t, otherUser, dumpRequest.UserId)
|
||||
@ -241,7 +241,7 @@ func TestDumpRequestAndResponse(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
dumpRequests = make([]*shared.DumpRequest, 0)
|
||||
require.NoError(t, json.Unmarshal(respBody, &dumpRequests))
|
||||
require.Len(t, dumpRequest, 1)
|
||||
require.Len(t, dumpRequests, 1)
|
||||
dumpRequest = dumpRequests[0]
|
||||
require.Equal(t, otherDev2, dumpRequest.RequestingDeviceId)
|
||||
require.Equal(t, otherUser, dumpRequest.UserId)
|
||||
|
Loading…
Reference in New Issue
Block a user