(t *testing.T)
| 122 | } |
| 123 | |
| 124 | func TestSkillHandlerPin_NotFound(t *testing.T) { |
| 125 | sh, _ := newPinTestFixture(t, map[string]string{ |
| 126 | "pin-normal": pinFixtureNormal, |
| 127 | }) |
| 128 | sh.Pin("does-not-exist") |
| 129 | |
| 130 | if sh.IsPinned("does-not-exist") { |
| 131 | t.Fatal("missing skill must not be added to the pin set") |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | func TestSkillHandlerPin_NoPersonaManager(t *testing.T) { |
| 136 | // Construct directly without a manager — the early-return guard should |
nothing calls this directly
no test coverage detected