diff --git a/pkg/log/zap/zap_test.go b/pkg/log/zap/example_test.go similarity index 95% rename from pkg/log/zap/zap_test.go rename to pkg/log/zap/example_test.go index d3ba8fbcf91d0acb8ed29a287b7fcc19c14bcced..99b5a23f79a55b1f6d955ff148c1f85d9560d8be 100644 --- a/pkg/log/zap/zap_test.go +++ b/pkg/log/zap/example_test.go @@ -5,6 +5,7 @@ import ( "slices" "testing" + "git.perx.ru/perxis/perxis-go/pkg/items" "git.perx.ru/perxis/perxis-go/pkg/log" logmocks "git.perx.ru/perxis/perxis-go/pkg/log/mocks" "github.com/stretchr/testify/mock" @@ -59,7 +60,7 @@ func TestExample(t *testing.T) { Category("create"), Component("Items.Service"), Event("Items.Create"), - Object("/spaces/WPNN/envs/9VGP/cols/GxNv/items/W0fl"), + Object(items.NewItem("WPNN", "9VGP", "GxNv", "cmV2cw", nil, nil)), Caller("/users/PHVz"), Tags("tag1", "tag2", "tag3"), )