mirror of
https://github.com/coder/coder.git
synced 2025-08-20 08:23:52 +00:00
removing unnecessary changes
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
This commit is contained in:
@@ -825,7 +825,6 @@ func TestGroup(t *testing.T) {
|
|||||||
// TODO (sasswart): this test seems to have drifted from its original intention. evaluate and remove/fix
|
// TODO (sasswart): this test seems to have drifted from its original intention. evaluate and remove/fix
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
// TODO: we should not be returning the prebuilds user in Group, and this is not returned in dbmem.
|
|
||||||
if !dbtestutil.WillUsePostgres() {
|
if !dbtestutil.WillUsePostgres() {
|
||||||
t.Skip("This test requires postgres")
|
t.Skip("This test requires postgres")
|
||||||
}
|
}
|
||||||
|
@@ -7,8 +7,6 @@ import (
|
|||||||
"slices"
|
"slices"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/coder/coder/v2/coderd/database/dbtestutil"
|
|
||||||
|
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
@@ -335,12 +333,6 @@ func TestCustomOrganizationRole(t *testing.T) {
|
|||||||
// Verify deleting a custom role cascades to all members
|
// Verify deleting a custom role cascades to all members
|
||||||
t.Run("DeleteRoleCascadeMembers", func(t *testing.T) {
|
t.Run("DeleteRoleCascadeMembers", func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
// TODO: we should not be returning the prebuilds user in OrganizationMembers, and this is not returned in dbmem.
|
|
||||||
if !dbtestutil.WillUsePostgres() {
|
|
||||||
t.Skip("This test requires postgres")
|
|
||||||
}
|
|
||||||
|
|
||||||
owner, first := coderdenttest.New(t, &coderdenttest.Options{
|
owner, first := coderdenttest.New(t, &coderdenttest.Options{
|
||||||
LicenseOptions: &coderdenttest.LicenseOptions{
|
LicenseOptions: &coderdenttest.LicenseOptions{
|
||||||
Features: license.Features{
|
Features: license.Features{
|
||||||
|
@@ -924,7 +924,6 @@ func TestTemplateACL(t *testing.T) {
|
|||||||
t.Run("everyoneGroup", func(t *testing.T) {
|
t.Run("everyoneGroup", func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
// TODO: we should not be returning the prebuilds user in TemplateACL, and this is not returned in dbmem.
|
|
||||||
if !dbtestutil.WillUsePostgres() {
|
if !dbtestutil.WillUsePostgres() {
|
||||||
t.Skip("This test requires postgres")
|
t.Skip("This test requires postgres")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user