Skip to content

Commit 9fa462f

Browse files
author
Artur Kh
committed
Replace APIKey with Token
1 parent ab6f8a8 commit 9fa462f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "testing"
55
func TestConfigUpdate(t *testing.T) {
66
c := ConfigNew()
77

8-
origApiKey := c.APIKey
8+
origApiKey := c.Token
99
newApiKey := "newkey"
1010

1111
if err := c.Update(newApiKey); err != nil {
@@ -14,7 +14,7 @@ func TestConfigUpdate(t *testing.T) {
1414

1515
c.Load()
1616

17-
if c.APIKey != newApiKey {
17+
if c.Token != newApiKey {
1818
t.Fail()
1919
}
2020

0 commit comments

Comments
 (0)