Skip to content

Commit 34c1459

Browse files
committed
fix custom domain update test
1 parent 90df99d commit 34c1459

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# v5.19.1
1+
# v5.19.2
22

33
* `management.RoleManager`: `Delete` would result in an `json.Unmarshal(nil)` error ([#232](https://github.com/go-auth0/auth0/pull/232))
44

management/custom_domain_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ func TestCustomDomain(t *testing.T) {
3333
})
3434

3535
t.Run("Update", func(t *testing.T) {
36-
c.TLSPolicy = auth0.String("compatible")
37-
38-
err = m.CustomDomain.Update(c.GetID(), c)
36+
err = m.CustomDomain.Update(c.GetID(), &CustomDomain{TLSPolicy: auth0.String("recommended")})
3937
if err != nil {
4038
if err, ok := err.(Error); ok && err.Status() == http.StatusForbidden {
4139
t.Skip(err)

0 commit comments

Comments
 (0)