summaryrefslogtreecommitdiff
path: root/internal/federation/dereferencing/emoji_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/federation/dereferencing/emoji_test.go')
-rw-r--r--internal/federation/dereferencing/emoji_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/federation/dereferencing/emoji_test.go b/internal/federation/dereferencing/emoji_test.go
index 3c77d5108..c8c905781 100644
--- a/internal/federation/dereferencing/emoji_test.go
+++ b/internal/federation/dereferencing/emoji_test.go
@@ -18,7 +18,6 @@
package dereferencing_test
import (
- "context"
"fmt"
"testing"
"time"
@@ -32,7 +31,7 @@ type EmojiTestSuite struct {
}
func (suite *EmojiTestSuite) TestDereferenceEmojiBlocking() {
- ctx := context.Background()
+ ctx := suite.T().Context()
emojiImageRemoteURL := "http://example.org/media/emojis/1781772.gif"
emojiImageStaticRemoteURL := "http://example.org/media/emojis/1781772.gif"
emojiURI := "http://example.org/emojis/1781772"