Przeglądaj źródła

fix ccache tests

Jonathan Turner 8 lat temu
rodzic
commit
75c9923d55
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      credentials/ccache_integration_test.go

+ 1 - 1
credentials/ccache_integration_test.go

@@ -69,5 +69,5 @@ func TestLoadCCache(t *testing.T) {
 	usr, _ := user.Current()
 	usr, _ := user.Current()
 	cpath := "/tmp/krb5cc_" + usr.Uid
 	cpath := "/tmp/krb5cc_" + usr.Uid
 	c, err := LoadCCache(cpath)
 	c, err := LoadCCache(cpath)
-	assert.Equal(t, "testuser1@TEST.GOKRB5", c.GetClientPrincipalName().GetPrincipalNameString(), "principal not as expected")
+	assert.Equal(t, "testuser1@TEST.GOKRB5", (&c).GetClientPrincipalName().GetPrincipalNameString(), "principal not as expected")
 }
 }