Skip to content

Commit

Permalink
fix(test): set got users from the response if not nil
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Sep 9, 2024
1 parent 34fa32f commit 8a8a294
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 8a8a294

Please sign in to comment.