2021-09-10 09:31:27 -04:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-02-02 17:15:17 -08:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2021-09-10 09:31:27 -04:00
|
|
|
package schema
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
|
|
"github.com/hashicorp/boundary/internal/db/schema/internal/edition"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const NilVersion = nilVersion
|
|
|
|
|
|
|
|
|
|
// TestClearEditions is a test helper to reset the editions map.
|
|
|
|
|
func TestClearEditions(t *testing.T) {
|
|
|
|
|
t.Helper()
|
|
|
|
|
editions.Lock()
|
|
|
|
|
defer editions.Unlock()
|
|
|
|
|
|
|
|
|
|
editions.m = make(map[edition.Dialect]edition.Editions)
|
|
|
|
|
}
|