summaryrefslogtreecommitdiff
path: root/pkg/vpn/bonafide/bonafide_api_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vpn/bonafide/bonafide_api_test.go')
-rw-r--r--pkg/vpn/bonafide/bonafide_api_test.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/vpn/bonafide/bonafide_api_test.go b/pkg/vpn/bonafide/bonafide_api_test.go
new file mode 100644
index 0000000..7b48d8f
--- /dev/null
+++ b/pkg/vpn/bonafide/bonafide_api_test.go
@@ -0,0 +1,15 @@
+package bonafide
+
+import (
+ "log"
+ "testing"
+)
+
+func TestBonafideAPI(t *testing.T) {
+ b := New()
+ cert, err := b.GetCertPem()
+ if err != nil {
+ log.Fatal(err)
+ }
+ log.Println(string(cert))
+}