feat: Disallow using legacy params with rich params (#5974)

* feat: Disallow using legacy params with rich params

* Fix

* nolint
This commit is contained in:
Marcin Tojek
2023-02-02 16:44:57 +01:00
committed by GitHub
parent 01ebfdc9dd
commit 271d68c862
5 changed files with 46 additions and 14 deletions

View File

@ -9,13 +9,13 @@ import (
"testing"
"time"
"github.com/coder/coder/cryptorand"
"github.com/tabbed/pqtype"
"github.com/coder/coder/coderd/database"
"github.com/google/uuid"
"github.com/moby/moby/pkg/namesgenerator"
"github.com/stretchr/testify/require"
"github.com/tabbed/pqtype"
"github.com/coder/coder/coderd/database"
"github.com/coder/coder/cryptorand"
)
// All methods take in a 'seed' object. Any provided fields in the seed will be