Browse Source

removed print lines

walkerwmanuel 2 years ago
parent
commit
193ef6b6ed
1 changed files with 0 additions and 3 deletions
  1. 0 3
      logic/enrollmentkey_test.go

+ 0 - 3
logic/enrollmentkey_test.go

@@ -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"