mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-21 07:46:04 +08:00
Wrote test to test Enrolment Keys
This commit is contained in:
parent
442b32e0d9
commit
8f8c4f1df0
|
@ -171,7 +171,7 @@ func TestDeTokenize_EnrollmentKeys(t *testing.T) {
|
|||
defer database.CloseDB()
|
||||
newKey, _ := CreateEnrollmentKey(0, time.Time{}, []string{"mynet", "skynet"}, nil, true)
|
||||
fmt.Println(newKey.Value)
|
||||
const defaultValue = "MwEtpqTSrGd4HTO3ahYDTExKAehh6udJ"
|
||||
//const defaultValue = "MwEtpqTSrGd4HTO3ahYDTExKAehh6udJ"
|
||||
const b64Value = "eyJzZXJ2ZXIiOiJhcGkubXlzZXJ2ZXIuY29tIiwidmFsdWUiOiJNd0V0cHFUU3JHZDRIVE8zYWhZRFRFeEtBZWhoNnVkSiJ9"
|
||||
const serverAddr = "api.myserver.com"
|
||||
|
||||
|
|
Loading…
Reference in a new issue