package api

import (
	"strings"
	"testing"
)

func TestDetailFieldsIncludeEmbyPeople(t *testing.T) {
	fields := strings.Split(fieldsDetail, ",")
	for _, field := range fields {
		if field == "People" {
			return
		}
	}
	t.Fatal("detail responses must request Emby's People field for cast metadata and portrait tags")
}
