MM-45000: Change dyatlov dependency (#20443)

* MM-45000: Change dyatlov dependency

https://mattermost.atlassian.net/browse/MM-45000
Этот коммит содержится в:
Agniva De Sarker
2022-06-14 18:41:53 +05:30
коммит произвёл GitHub
родитель 2a85fd6a81
Коммит 680b00047f
6 изменённых файлов: 35 добавлений и 26 удалений

Просмотреть файл

@@ -9,6 +9,7 @@ import (
"time"
"github.com/dyatlov/go-opengraph/opengraph"
"github.com/dyatlov/go-opengraph/opengraph/types/image"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
@@ -205,7 +206,7 @@ func testLinkMetadataStoreTypes(t *testing.T, ss store.Store) {
t.Run("should save and get opengraph data", func(t *testing.T) {
og := &opengraph.OpenGraph{
URL: "http://example.com",
Images: []*opengraph.Image{
Images: []*image.Image{
{
URL: "http://example.com/image.png",
},