(t *testing.T)
| 50 | var dummyUid2 = types.Uid(54321) |
| 51 | |
| 52 | func TestCreateDb(t *testing.T) { |
| 53 | if err := adp.CreateDb(config.Reset); err != nil { |
| 54 | t.Fatal(err) |
| 55 | } |
| 56 | // Saved db is closed, get a fresh one. |
| 57 | db = adp.GetTestDB().(*pgxpool.Pool) |
| 58 | } |
| 59 | |
| 60 | // ================== Create tests ================================ |
| 61 | func TestUserCreate(t *testing.T) { |