mirror of
https://github.com/gofiber/storage.git
synced 2025-10-06 00:57:38 +08:00
chore: use functional options to define the hook for when to create a new store
This commit is contained in:
@@ -134,7 +134,7 @@ func Test_MYSQL_Non_UTF8(t *testing.T) {
|
||||
|
||||
func TestMySQLStorageTCK(t *testing.T) {
|
||||
// The TCK needs the concrete type of the storage and the driver type returned by the Conn method.
|
||||
s, err := tck.New[*Storage, *sql.DB](context.Background(), t, &MySQLStorageTCK{}, tck.PerTest)
|
||||
s, err := tck.New[*Storage, *sql.DB](context.Background(), t, &MySQLStorageTCK{}, tck.PerTest())
|
||||
require.NoError(t, err)
|
||||
|
||||
suite.Run(t, &s)
|
||||
|
Reference in New Issue
Block a user