()
| 62 | } |
| 63 | |
| 64 | func defaultsForTest() Defaults { |
| 65 | return Defaults{ |
| 66 | PlanCode: "default", |
| 67 | MaxAgents: 5, |
| 68 | MaxDomains: 2, |
| 69 | MaxMessagesMonth: 100, |
| 70 | MaxStorageBytes: 10_000, |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | func TestEnforcer_GetFallsBackToDefaultsWhenNoRow(t *testing.T) { |
| 75 | store := &fakeStore{found: false} |
no outgoing calls
no test coverage detected