aboutsummaryrefslogtreecommitdiff
path: root/internal/dbtest/dbtest.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/dbtest/dbtest.go')
-rw-r--r--internal/dbtest/dbtest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/dbtest/dbtest.go b/internal/dbtest/dbtest.go
index 353a2952..4e6b7e6a 100644
--- a/internal/dbtest/dbtest.go
+++ b/internal/dbtest/dbtest.go
@@ -23,7 +23,7 @@ import (
// NewDB creates a new test database and initializes the given list of tables
// for the suite. The test database is dropped after testing is completed unless
// failed.
-func NewDB(t *testing.T, suite string, tables ...interface{}) *gorm.DB {
+func NewDB(t *testing.T, suite string, tables ...any) *gorm.DB {
dbType := os.Getenv("GOGS_DATABASE_TYPE")
var dbName string