1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-29 13:49:28 +08:00

Fix naming in Authn API tests (#1275)

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
This commit is contained in:
Dušan Borovčanin 2020-10-27 20:08:16 +01:00 committed by GitHub
parent f6b1ae735c
commit 02db4066b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ func TestIssue(t *testing.T) {
}{
{
desc: "issue for user with valid token",
id: email,
id: id,
email: email,
kind: authn.UserKey,
err: nil,
@ -70,7 +70,7 @@ func TestIssue(t *testing.T) {
},
{
desc: "issue recovery key",
id: email,
id: id,
email: email,
kind: authn.RecoveryKey,
err: nil,
@ -78,7 +78,7 @@ func TestIssue(t *testing.T) {
},
{
desc: "issue API key unauthenticated",
id: email,
id: id,
email: email,
kind: authn.APIKey,
err: nil,
@ -86,7 +86,7 @@ func TestIssue(t *testing.T) {
},
{
desc: "issue for invalid key type",
id: email,
id: id,
email: email,
kind: 32,
err: status.Error(codes.InvalidArgument, "received invalid token request"),