From 5af9236c199b3f54abd91331a1deb1ee80dea5ed Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 21 Jul 2023 21:30:54 +0800 Subject: [PATCH] chore: update --- test/store/shortcut_test.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/store/shortcut_test.go b/test/store/shortcut_test.go index 43a395d..ced444a 100644 --- a/test/store/shortcut_test.go +++ b/test/store/shortcut_test.go @@ -14,12 +14,13 @@ func TestShortcutStore(t *testing.T) { user, err := createTestingAdminUser(ctx, ts) require.NoError(t, err) shortcut, err := ts.CreateShortcut(ctx, &store.Shortcut{ - CreatorID: user.ID, - Name: "test", - Link: "https://test.link", - Description: "A test shortcut", - Visibility: store.VisibilityPrivate, - Tag: "test link", + CreatorID: user.ID, + Name: "test", + Link: "https://test.link", + Description: "A test shortcut", + Visibility: store.VisibilityPrivate, + Tag: "test link", + OpenGraphMetadata: &store.OpenGraphMetadata{}, }) require.NoError(t, err) shortcuts, err := ts.ListShortcuts(ctx, &store.FindShortcut{