Remove mTLS client requirement in /roots and /federation
This commit is contained in:
parent
9adc65febf
commit
518b597535
10 changed files with 162 additions and 233 deletions
|
@ -549,7 +549,7 @@ func TestClient_Roots(t *testing.T) {
|
|||
api.JSON(w, tt.response)
|
||||
})
|
||||
|
||||
got, err := c.Roots(nil)
|
||||
got, err := c.Roots()
|
||||
if (err != nil) != tt.wantErr {
|
||||
fmt.Printf("%+v", err)
|
||||
t.Errorf("Client.Roots() error = %v, wantErr %v", err, tt.wantErr)
|
||||
|
@ -610,7 +610,7 @@ func TestClient_Federation(t *testing.T) {
|
|||
api.JSON(w, tt.response)
|
||||
})
|
||||
|
||||
got, err := c.Federation(nil)
|
||||
got, err := c.Federation()
|
||||
if (err != nil) != tt.wantErr {
|
||||
fmt.Printf("%+v", err)
|
||||
t.Errorf("Client.Federation() error = %v, wantErr %v", err, tt.wantErr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue