From 8a8a2949ec8d500c887afd6222d37aaa497c664e Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Mon, 9 Sep 2024 11:56:49 +0100 Subject: [PATCH] fix(test): set got users from the response if not nil Fixes #388 --- internal/storetest/testresult.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/storetest/testresult.go b/internal/storetest/testresult.go index d4e95cb..5560dd4 100644 --- a/internal/storetest/testresult.go +++ b/internal/storetest/testresult.go @@ -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(