mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 08:08:45 +05:00
Update tests to work with go 1.15
This commit is contained in:
committed by
Dan Christian Bogos
parent
97b0169edd
commit
0978e200cf
@@ -145,7 +145,7 @@ func TestVerifyCredential(t *testing.T) {
|
||||
{"foo", "bar", map[string]string{"test": "1234", "foo": hashedPasswords["bar"]}, true},
|
||||
{"foo", "1234", map[string]string{"test": "1234", "foo": hashedPasswords["bar"]}, false},
|
||||
{"none", "1234", map[string]string{"test": "1234", "foo": hashedPasswords["bar"]}, false},
|
||||
{"test", "1234", map[string]string{"test": "1234" + string(0), "foo": hashedPasswords["bar"]}, false},
|
||||
{"test", "1234", map[string]string{"test": "12340", "foo": hashedPasswords["bar"]}, false},
|
||||
}
|
||||
|
||||
for _, tt := range verifyCredentialTests {
|
||||
|
||||
Reference in New Issue
Block a user