(t *testing.T)
| 26 | } |
| 27 | |
| 28 | func TestInstance(t *testing.T) { |
| 29 | api, _, err := setupAPIForMultiinstanceTest() |
| 30 | require.NoError(t, err) |
| 31 | |
| 32 | api.config.OperatorToken = operatorToken |
| 33 | |
| 34 | ts := &InstanceTestSuite{ |
| 35 | API: api, |
| 36 | } |
| 37 | defer api.db.Close() |
| 38 | |
| 39 | suite.Run(t, ts) |
| 40 | } |
| 41 | |
| 42 | func (ts *InstanceTestSuite) SetupTest() { |
| 43 | models.TruncateAll(ts.API.db) |
nothing calls this directly
no test coverage detected
searching dependent graphs…