(t *testing.T)
| 18 | ) |
| 19 | |
| 20 | func TestCollectionQuery(t *testing.T) { |
| 21 | t.Parallel() |
| 22 | |
| 23 | app, _ := tests.NewTestApp() |
| 24 | defer app.Cleanup() |
| 25 | |
| 26 | expected := "SELECT {{_collections}}.* FROM `_collections`" |
| 27 | |
| 28 | sql := app.CollectionQuery().Build().SQL() |
| 29 | if sql != expected { |
| 30 | t.Errorf("Expected sql %s, got %s", expected, sql) |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | func TestReloadCachedCollections(t *testing.T) { |
| 35 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…