summaryrefslogtreecommitdiff
path: root/pkg/vpn/bonafide/bonafide_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vpn/bonafide/bonafide_test.go')
-rw-r--r--pkg/vpn/bonafide/bonafide_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/vpn/bonafide/bonafide_test.go b/pkg/vpn/bonafide/bonafide_test.go
index 0e463e0..ee54fdb 100644
--- a/pkg/vpn/bonafide/bonafide_test.go
+++ b/pkg/vpn/bonafide/bonafide_test.go
@@ -55,7 +55,7 @@ func (c client) Do(req *http.Request) (*http.Response, error) {
func TestAnonGetCert(t *testing.T) {
b := Bonafide{client: client{certPath}}
- b.auth = &AnonymousAuthentication{&b}
+ b.auth = &anonymousAuthentication{}
cert, err := b.GetPemCertificate()
if err != nil {
t.Fatal("getCert returned an error: ", err)