Skip to content

Commit f0d0744

Browse files
author
Rijul Gulati
committed
minor fix
1 parent fee0e2f commit f0d0744

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

andotp/andotp_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ import (
77
)
88

99
const (
10-
jsonstr string = "[{\"secret\":\"SOMEAWESOMESECRET\",\"issuer\":\"SOMEAWESOMEISSUER\",\"label\":\"TESTLABEL\",\"digits\":6,\"type\":\"TOTP\",\"algorithm\":\"SHA1\",\"thumbnail\":\"Default\",\"last_used\":1000000000000,\"used_frequency\":0,\"period\":30,\"tags\":[]}]"
11-
jsonstrNoSecret string = "[{\"secret\":,\"issuer\":\"SOMEAWESOMEISSUER\",\"label\":\"TESTLABEL\",\"digits\":6,\"type\":\"TOTP\",\"algorithm\":\"SHA1\",\"thumbnail\":\"Default\",\"last_used\":1000000000000,\"used_frequency\":0,\"period\":30,\"tags\":[]}]"
12-
password string = "testpass"
10+
jsonstr string = "[{\"secret\":\"SOMEAWESOMESECRET\",\"issuer\":\"SOMEAWESOMEISSUER\",\"label\":\"TESTLABEL\",\"digits\":6,\"type\":\"TOTP\",\"algorithm\":\"SHA1\",\"thumbnail\":\"Default\",\"last_used\":1000000000000,\"used_frequency\":0,\"period\":30,\"tags\":[]}]"
11+
password string = "testpass"
1312
)
1413

1514
func TestEncryptDecrypt(t *testing.T) {

0 commit comments

Comments
 (0)