Skip to content

Commit

Permalink
fix(test): set got users from the response if not nil (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris authored Sep 9, 2024
2 parents e1d9857 + 8a8a294 commit a9d1a50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/storetest/testresult.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ func buildListUsersTestResults(

got := NoValueString

if listUsersResult.Got.Users != nil {
got = fmt.Sprintf("%+v", listUsersResult.Got)
}

userFilter := listUsersResult.Request.UserFilters[0]

listUsersResultsOutput += fmt.Sprintf(
Expand Down

0 comments on commit a9d1a50

Please sign in to comment.