2026-05-15 10:00:43 +08:00

18 lines
502 B
Go

package resource
import "testing"
func TestProfileCardIsValidResourceType(t *testing.T) {
if !ValidResourceType(TypeProfileCard) {
t.Fatalf("profile_card must be accepted as a configured resource type")
}
}
func TestRoomAndEmojiAssetsAreValidResourceTypes(t *testing.T) {
for _, resourceType := range []string{TypeMicSeatIcon, TypeMicSeatAnimation, TypeEmojiPack} {
if !ValidResourceType(resourceType) {
t.Fatalf("%s must be accepted as a configured resource type", resourceType)
}
}
}