Skip to content

Commit

Permalink
Extend Test Cases
Browse files Browse the repository at this point in the history
  • Loading branch information
0x46616c6b committed Oct 8, 2023
1 parent 968407f commit 3ef7c5b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/storage/ticker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ func TestTickerMastodonConnect(t *testing.T) {
assert.False(t, ticker.Mastodon.Connected())
}

func TestTickerTelegramConnected(t *testing.T) {
assert.False(t, ticker.Telegram.Connected())

ticker.Telegram.Active = true

assert.True(t, ticker.Telegram.Connected())
}

func TestTickerReset(t *testing.T) {
ticker.Active = true
ticker.Description = "Description"
Expand Down

0 comments on commit 3ef7c5b

Please sign in to comment.