mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: remove dbmem comment references (#22056)
👻 The ghost of dbmem managed to live on... until now.
This commit is contained in:
@@ -93,7 +93,6 @@ type TxOptions struct {
|
|||||||
|
|
||||||
// IncrementExecutionCount is a helper function for external packages
|
// IncrementExecutionCount is a helper function for external packages
|
||||||
// to increment the unexported count.
|
// to increment the unexported count.
|
||||||
// Mainly for `dbmem`.
|
|
||||||
func IncrementExecutionCount(opts *TxOptions) {
|
func IncrementExecutionCount(opts *TxOptions) {
|
||||||
opts.executionCount++
|
opts.executionCount++
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -262,8 +262,6 @@ func TestWebhookDispatch(t *testing.T) {
|
|||||||
// This is not strictly necessary for this test, but it's testing some side logic which is too small for its own test.
|
// This is not strictly necessary for this test, but it's testing some side logic which is too small for its own test.
|
||||||
require.Equal(t, payload.Payload.UserName, name)
|
require.Equal(t, payload.Payload.UserName, name)
|
||||||
require.Equal(t, payload.Payload.UserUsername, username)
|
require.Equal(t, payload.Payload.UserUsername, username)
|
||||||
// Right now we don't have a way to query notification templates by ID in dbmem, and it's not necessary to add this
|
|
||||||
// just to satisfy this test. We can safely assume that as long as this value is not empty that the given value was delivered.
|
|
||||||
require.NotEmpty(t, payload.Payload.NotificationName)
|
require.NotEmpty(t, payload.Payload.NotificationName)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user