mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-04 08:09:58 +01:00
code review
This commit is contained in:
parent
0d62c198b9
commit
7b629babcf
@ -142,7 +142,7 @@ func TestSignAndVerify(t *testing.T) {
|
||||
token, err := serviceWithAnotherKey.SignAndEncode(Message{
|
||||
ConnectionID: uuid.New().String(),
|
||||
ExpiresAt: now.Add(-time.Hour),
|
||||
ConnectionType: ConnectionTypeBrowserExtensionWait,
|
||||
ConnectionType: ConnectionTypeBrowserExtensionProxy,
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
@ -125,7 +125,7 @@ func TestSignAndVerify(t *testing.T) {
|
||||
token, err := serviceWithAnotherKey.SignAndEncode(sign.Message{
|
||||
ConnectionID: uuid.New().String(),
|
||||
ExpiresAt: now.Add(-time.Hour),
|
||||
ConnectionType: sign.ConnectionTypeBrowserExtensionWait,
|
||||
ConnectionType: sign.ConnectionTypeBrowserExtensionProxy,
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
Loading…
Reference in New Issue
Block a user