Skip to content

Commit

Permalink
lint/test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Oct 11, 2023
1 parent 221594e commit 7c7992b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (s *HandlersSuite) TestHandleLinkPreviewThumbnail() {

func (s *HandlersSuite) TestHandleStatusLinkPreviewThumbnail() {
contact := &protobuf.UnfurledStatusContactLink{
PublicKey: "PublicKey_1",
PublicKey: []byte("PublicKey_1"),
Icon: &protobuf.UnfurledLinkThumbnail{
Width: 10,
Height: 20,
Expand All @@ -216,7 +216,7 @@ func (s *HandlersSuite) TestHandleStatusLinkPreviewThumbnail() {
}

contactWithUnsupportedImage := &protobuf.UnfurledStatusContactLink{
PublicKey: "PublicKey_2",
PublicKey: []byte("PublicKey_2"),
Icon: &protobuf.UnfurledLinkThumbnail{
Width: 10,
Height: 20,
Expand All @@ -225,7 +225,7 @@ func (s *HandlersSuite) TestHandleStatusLinkPreviewThumbnail() {
}

community := &protobuf.UnfurledStatusCommunityLink{
CommunityId: "CommunityId_1",
CommunityId: []byte("CommunityId_1"),
Icon: &protobuf.UnfurledLinkThumbnail{
Width: 30,
Height: 40,
Expand All @@ -239,9 +239,9 @@ func (s *HandlersSuite) TestHandleStatusLinkPreviewThumbnail() {
}

channel := &protobuf.UnfurledStatusChannelLink{
ChannelUuid: "ChannelUuid_1",
ChannelUuid: []byte("ChannelUuid_1"),
Community: &protobuf.UnfurledStatusCommunityLink{
CommunityId: "CommunityId_2",
CommunityId: []byte("CommunityId_2"),
Icon: &protobuf.UnfurledLinkThumbnail{
Width: 70,
Height: 80,
Expand Down

0 comments on commit 7c7992b

Please sign in to comment.