(t *testing.T)
| 15 | ) |
| 16 | |
| 17 | func TestIsAuthorizedQuery(t *testing.T) { |
| 18 | t.Parallel() |
| 19 | |
| 20 | query := `SELECT true;` |
| 21 | _, err := insertAuthorizedFilter(query, "") |
| 22 | require.ErrorContains(t, err, "does not contain authorized replace string", "ensure replace string") |
| 23 | } |
| 24 | |
| 25 | // TestWorkspaceTableConvert verifies all workspace fields are converted |
| 26 | // when reducing a `Workspace` to a `WorkspaceTable`. |
nothing calls this directly
no test coverage detected