mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
chore: rename dbfake to dbmem (#10432)
This commit is contained in:
@ -10,7 +10,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/coder/coder/v2/coderd/database/dbfake"
|
||||
"github.com/coder/coder/v2/coderd/database/dbmem"
|
||||
"github.com/coder/coder/v2/coderd/database/pubsub"
|
||||
|
||||
"github.com/golang-jwt/jwt/v4"
|
||||
@ -133,8 +133,8 @@ func NewWithAPI(t *testing.T, options *Options) (
|
||||
// we check for the in-memory test types so that the real types don't have to exported
|
||||
_, ok := coderAPI.Pubsub.(*pubsub.MemoryPubsub)
|
||||
require.False(t, ok, "FeatureHighAvailability is incompatible with MemoryPubsub")
|
||||
_, ok = coderAPI.Database.(*dbfake.FakeQuerier)
|
||||
require.False(t, ok, "FeatureHighAvailability is incompatible with dbfake")
|
||||
_, ok = coderAPI.Database.(*dbmem.FakeQuerier)
|
||||
require.False(t, ok, "FeatureHighAvailability is incompatible with dbmem")
|
||||
}
|
||||
}
|
||||
_ = AddLicense(t, client, lo)
|
||||
|
Reference in New Issue
Block a user