Hot fix tests
This commit is contained in:
1 parent
bbeb6eb735
commit
939a94b704
3 files changed
+9
-5
No files matched your search
@@ -9,7 +9,7 @@ require (
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/stretchr/testify v1.11.1
|
||||
github.com/txix-open/bgjob v1.6.0
|
||||
github.com/txix-open/isp-kit v1.65.1
|
||||
github.com/txix-open/isp-kit v1.65.2
|
||||
github.com/txix-open/jsonschema v1.3.0
|
||||
golang.org/x/crypto v0.49.0
|
||||
golang.org/x/sync v0.20.0
|
||||
|
||||
@@ -153,8 +153,8 @@ github.com/txix-open/etp/v4 v4.0.1 h1:5VSYgGsvnMz0tvUHsjVWFETI0qWBTCF1O3ARCHaCIg
|
||||
github.com/txix-open/etp/v4 v4.0.1/go.mod h1:FIu7TUDdwcgmtmF6tFTV1bGA2fRY/iVaPQdsGzvqYc8=
|
||||
github.com/txix-open/grmq v1.10.0 h1:1bXuF+7TxtUvoh+Wn6SOCYpVACFbWDuDmz/+tKwW9Ms=
|
||||
github.com/txix-open/grmq v1.10.0/go.mod h1:EyFOP17KrwEFOUjR+PH8iH3LCtiN9TSQ8t0ysyk62po=
|
||||
github.com/txix-open/isp-kit v1.65.1 h1:KehXIJdPZMnewDd5XQxk87yNAtNhvJXApaLFvbUau5U=
|
||||
github.com/txix-open/isp-kit v1.65.1/go.mod h1:F4B/+ErbNVaWzIIGasXM5DtcDKtjl6u2OESO02RyzCI=
|
||||
github.com/txix-open/isp-kit v1.65.2 h1:AH4PTpgEJFqaggfQw3k6c05xWTRx+Xqxkx5iZ3vEPNs=
|
||||
github.com/txix-open/isp-kit v1.65.2/go.mod h1:F4B/+ErbNVaWzIIGasXM5DtcDKtjl6u2OESO02RyzCI=
|
||||
github.com/txix-open/jsonschema v1.3.0 h1:XGuOTg22G7PdqfKypjajM20/i5FyGfFYsJKmheebKi4=
|
||||
github.com/txix-open/jsonschema v1.3.0/go.mod h1:l8YDZ1nvJrw6uxWowSVOxCV/ebiMJyapffW87ZEqH00=
|
||||
github.com/txix-open/validator/v10 v10.0.0-20250506161033-f8ce404fffdb h1:UJgT4u/QMv5QHKOQeJ7igShHa36c2/vIRqJiRLdDlf0=
|
||||
|
||||
+6
-2
@@ -221,10 +221,14 @@ func (t *AuditSuite) Test_All_Logs() {
|
||||
Do(context.Background())
|
||||
t.Require().NoError(err)
|
||||
|
||||
t.Require().Len(response.Items, 2)
|
||||
t.Require().EqualValues(2, response.TotalCount)
|
||||
t.Require().Len(response.Items, 6)
|
||||
t.Require().EqualValues(6, response.TotalCount)
|
||||
t.Require().EqualValues(10, response.Items[0].UserId)
|
||||
t.Require().EqualValues(9, response.Items[1].UserId)
|
||||
t.Require().EqualValues(8, response.Items[2].UserId)
|
||||
t.Require().EqualValues(7, response.Items[3].UserId)
|
||||
t.Require().EqualValues(6, response.Items[4].UserId)
|
||||
t.Require().EqualValues(5, response.Items[5].UserId)
|
||||
}
|
||||
|
||||
func (t *AuditSuite) insertAuditLogs() {
|
||||
|
||||
Reference in new issue
Block a user