TestAcquirer_Store tests that a database.Store is accepted as a provisionerdserver.AcquirerStore
(t *testing.T)
| 32 | |
| 33 | // TestAcquirer_Store tests that a database.Store is accepted as a provisionerdserver.AcquirerStore |
| 34 | func TestAcquirer_Store(t *testing.T) { |
| 35 | t.Parallel() |
| 36 | db, ps := dbtestutil.NewDB(t) |
| 37 | ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitShort) |
| 38 | defer cancel() |
| 39 | logger := testutil.Logger(t) |
| 40 | _ = provisionerdserver.NewAcquirer(ctx, logger.Named("acquirer"), db, ps) |
| 41 | } |
| 42 | |
| 43 | func TestAcquirer_Single(t *testing.T) { |
| 44 | t.Parallel() |
nothing calls this directly
no test coverage detected