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

fix tests

parent ddb43ccf
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ func TestExample(t *testing.T) {
logger.Info("Successfully created",
logzap.Event(items.EventCreateItem),
logzap.Object(item),
logzap.CallerFromContext(ctx),
logzap.CallerFromContext(ctx, item.SpaceID),
logzap.Tags("tag1", "tag2", "tag3"),
)
......@@ -85,7 +85,7 @@ func TestExample(t *testing.T) {
logger.Warn("Successfully updated",
logzap.Event(items.EventUpdateItem),
logzap.Object(item),
logzap.CallerFromContext(ctx),
logzap.CallerFromContext(ctx, item.SpaceID),
logzap.Attr(map[string]map[string]any{"title": {"old": "old title", "new": "new title"}}),
)
}
......
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