()
| 9 | ) |
| 10 | |
| 11 | func testConfig() *config.Config { |
| 12 | return &config.Config{ |
| 13 | Tenants: []config.TenantConfig{ |
| 14 | { |
| 15 | ID: "team-a", |
| 16 | Class: "premium", |
| 17 | Priority: "high", |
| 18 | BudgetPerRequest: 5, |
| 19 | RateLimitRPS: 1, |
| 20 | }, |
| 21 | }, |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | func TestBasicEngine_AgentRejectedWhenFeatureOff(t *testing.T) { |
| 26 | engine := NewBasicEngine(testConfig()) |
no outgoing calls
no test coverage detected