Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9069a48

Browse files
committed
Refactor
Signed-off-by: Danny Kopping <danny@coder.com>
1 parentf0ca466 commit9069a48

File tree

2 files changed

+1
-35
lines changed

2 files changed

+1
-35
lines changed

‎coderd/notifications/dispatch/webhook_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import (
1818
"cdr.dev/slog"
1919
"cdr.dev/slog/sloggers/slogtest"
2020

21-
"github.com/coder/coder/v2/coderd"
2221
"github.com/coder/coder/v2/coderd/coderdtest"
2322
"github.com/coder/coder/v2/coderd/database/dbmem"
2423
"github.com/coder/coder/v2/coderd/notifications/dispatch"
@@ -191,7 +190,7 @@ func TestRuntimeEndpointChange(t *testing.T) {
191190
})
192191

193192
// Setup runtime config manager.
194-
mgr:=coderd.NewRuntimeConfigStore(dbmem.New())
193+
mgr:=runtimeconfig.NewStoreManager(dbmem.New())
195194

196195
// Dispatch a notification and it will fail.
197196
handler:=dispatch.NewWebhookHandler(vals.Notifications.Webhook,logger.With(slog.F("test",t.Name())))

‎coderd/runtimeconfig.go

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp