refactor continues

This commit is contained in:
redanthrax 2022-06-21 16:12:14 -07:00
parent c038774f2c
commit 51f1eab127
30 changed files with 1373 additions and 474 deletions

View file

@ -1,17 +1,2 @@
package tactical
package tactical_test
import "testing"
func TestSyncMeshNodeID(t *testing.T) {
agentConfig := NewAgentConfig()
if agentConfig.AgentID == "" {
t.Fatal("Could not get AgentID")
}
result := SyncMeshNodeID()
if !result {
t.Fatal("SyncMeshNodeID resulted in error")
}
t.Log("Synced mesh node id")
}