Skip to content

Commit

Permalink
use proper function call
Browse files Browse the repository at this point in the history
  • Loading branch information
mooreds committed Jul 2, 2024
1 parent 531a347 commit 6d4af8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/fusionauth/Client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var (
var faClient = NewClient(httpClient, baseURL, "af69486b-4733-4470-a592-f1bfce7af580")

func TestRetrieveUserFail(t *testing.T) {
userResponse, errors, _ := faClient.RetrieveUser("missing@example.com")
userResponse, errors, _ := faClient.RetrieveUserByEmail("missing@example.com")

errJson, _ := json.Marshal(errors)
fmt.Println(string(errJson))
Expand All @@ -52,7 +52,7 @@ func TestRetrieveUserFail(t *testing.T) {
}

func TestRetrieveUserSuccess(t *testing.T) {
userResponse, errors, _ := faClient.RetrieveUser("richard@example.com")
userResponse, errors, _ := faClient.RetrieveUserByEmail("richard@example.com")
errJson, _ := json.Marshal(errors)
fmt.Println(string(errJson))

Expand Down

0 comments on commit 6d4af8b

Please sign in to comment.