Skip to content

Commit

Permalink
remove unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Oct 2, 2023
1 parent 196cf80 commit 7a24d45
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions protocol/messenger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"testing"
"time"

"github.com/golang/protobuf/proto"
_ "github.com/mutecomm/go-sqlcipher/v4" // require go-sqlcipher that overrides default implementation
"github.com/stretchr/testify/suite"
"go.uber.org/zap"
Expand Down Expand Up @@ -2286,13 +2285,6 @@ func (s *MessengerSuite) TestShouldResendEmoji() {
s.True(ok)
}

func (s *MessengerSuite) TestMarshalUnfurledStatusLink() {
const marshalled = "[{\"url\":\"https://status.app/u/TestUrl\",\"Payload\":{\"Contact\":{\"public_key\":\"TestPublicKey\",\"display_name\":\"TestDisplayName\",\"description\":\"Test description\",\"icon\":{\"payload\":\"iVBORw0KGgoAAAANSUg=\",\"width\":100,\"height\":200}}}}]"
var unmarshalled protobuf.UnfurledStatusLinks
err := proto.Unmarshal([]byte(marshalled), &unmarshalled)
s.Require().NoError(err)
}

func (s *MessengerSuite) TestSendMessageWithPreviews() {
httpServer, err := server.NewMediaServer(s.m.database, nil, nil)
s.Require().NoError(err)
Expand Down

0 comments on commit 7a24d45

Please sign in to comment.