You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
349 B

  1. package model
  2. import (
  3. "testing"
  4. "github.com/stretchr/testify/require"
  5. )
  6. func TestGetDefaultVendorIconReturnsKnownIconAndEmptyFallback(t *testing.T) {
  7. require.Equal(t, "OpenAI", getDefaultVendorIcon("OpenAI"))
  8. require.Equal(t, "Claude.Color", getDefaultVendorIcon("Anthropic"))
  9. require.Equal(t, "", getDefaultVendorIcon("Unknown Vendor"))
  10. }