mirror of
https://github.com/coder/coder.git
synced 2026-06-04 13:38:21 +00:00
8b125d6c5d
* feat: Implement view for workspace builds to include rbac info * Removes the need to fetch the workspace to run an rbac check. * chore: Use workspace build as RBAC object * chore: Use golang templates instead of sqlc files
16 lines
260 B
Go
16 lines
260 B
Go
package sqlxqueries_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
"github.com/coder/coder/coderd/database/sqlxqueries"
|
|
)
|
|
|
|
func Test_loadQueries(t *testing.T) {
|
|
t.Parallel()
|
|
_, err := sqlxqueries.LoadQueries()
|
|
require.NoError(t, err)
|
|
}
|