removed print lines

This commit is contained in:
walkerwmanuel 2023-02-16 11:08:43 -05:00
parent 8f8c4f1df0
commit 193ef6b6ed

View file

@ -1,7 +1,6 @@
package logic
import (
"fmt"
"testing"
"time"
@ -136,7 +135,6 @@ func TestTokenize_EnrollmentKeys(t *testing.T) {
database.InitializeDatabase()
defer database.CloseDB()
newKey, _ := CreateEnrollmentKey(0, time.Time{}, []string{"mynet", "skynet"}, nil, true)
fmt.Println(newKey.Value)
const defaultValue = "MwEtpqTSrGd4HTO3ahYDTExKAehh6udJ"
const b64value = "eyJzZXJ2ZXIiOiJhcGkubXlzZXJ2ZXIuY29tIiwidmFsdWUiOiJNd0V0cHFUU3JHZDRIVE8zYWhZRFRFeEtBZWhoNnVkSiJ9"
const serverAddr = "api.myserver.com"
@ -170,7 +168,6 @@ func TestDeTokenize_EnrollmentKeys(t *testing.T) {
database.InitializeDatabase()
defer database.CloseDB()
newKey, _ := CreateEnrollmentKey(0, time.Time{}, []string{"mynet", "skynet"}, nil, true)
fmt.Println(newKey.Value)
//const defaultValue = "MwEtpqTSrGd4HTO3ahYDTExKAehh6udJ"
const b64Value = "eyJzZXJ2ZXIiOiJhcGkubXlzZXJ2ZXIuY29tIiwidmFsdWUiOiJNd0V0cHFUU3JHZDRIVE8zYWhZRFRFeEtBZWhoNnVkSiJ9"
const serverAddr = "api.myserver.com"