mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
test: Fix unit test to use dbfake over databasefake (#6014)
This commit is contained in:
@ -149,7 +149,7 @@ func TestTelemetry(t *testing.T) {
|
||||
// nolint:paralleltest
|
||||
func TestTelemetryInstallSource(t *testing.T) {
|
||||
t.Setenv("CODER_TELEMETRY_INSTALL_SOURCE", "aws_marketplace")
|
||||
db := databasefake.New()
|
||||
db := dbfake.New()
|
||||
deployment, _ := collectSnapshot(t, db)
|
||||
require.Equal(t, "aws_marketplace", deployment.InstallSource)
|
||||
}
|
||||
|
Reference in New Issue
Block a user