Skip to content
Snippets Groups Projects
Commit a85bef35 authored by Semyon Krestyaninov's avatar Semyon Krestyaninov
Browse files

refactor testcase and rename test file

parent 2c671a69
No related branches found
No related tags found
No related merge requests found
......@@ -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"),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment