mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: include organization name when fetching templates (#13751)
* chore: include organization name when fetching templates * chore: rename template_with_user to template_with_names
This commit is contained in:
@@ -32,7 +32,7 @@ func TestViewSubsetTemplate(t *testing.T) {
|
||||
tableFields := allFields(table)
|
||||
joinedFields := allFields(joined)
|
||||
if !assert.Subset(t, fieldNames(joinedFields), fieldNames(tableFields), "table is not subset") {
|
||||
t.Log("Some fields were added to the Template Table without updating the 'template_with_users' view.")
|
||||
t.Log("Some fields were added to the Template Table without updating the 'template_with_names' view.")
|
||||
t.Log("See migration 000138_join_users.up.sql to create the view.")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user