summaryrefslogtreecommitdiff
path: root/internal/validate/emoji_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/validate/emoji_test.go')
-rw-r--r--internal/validate/emoji_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/validate/emoji_test.go b/internal/validate/emoji_test.go
index 4ea90f384..8bf5d65e0 100644
--- a/internal/validate/emoji_test.go
+++ b/internal/validate/emoji_test.go
@@ -26,6 +26,7 @@ import (
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/validate"
+ "github.com/superseriousbusiness/gotosocial/testrig"
)
func happyEmoji() *gtsmodel.Emoji {
@@ -73,9 +74,9 @@ func happyEmoji() *gtsmodel.Emoji {
ImageFileSize: 1024,
ImageStaticFileSize: 256,
ImageUpdatedAt: time.Now(),
- Disabled: false,
+ Disabled: testrig.FalseBool(),
URI: "https://example.org/emojis/blob_test",
- VisibleInPicker: true,
+ VisibleInPicker: testrig.TrueBool(),
CategoryID: "01FEE47ZH70PWDSEAVBRFNX325",
}
}