File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package test
22
33import (
4- "path"
4+ "path/filepath "
55 "testing"
66
77 "github.com/stretchr/testify/require"
@@ -33,20 +33,20 @@ func CreateTestConfigs(t *testing.T) (model.Config, model.RuntimeConfig) {
3333 Name : "Test Client" ,
3434 },
3535 },
36- PrivateKeyPath : path .Join (tempDir , "key.pem" ),
37- PublicKeyPath : path .Join (tempDir , "key.pub" ),
36+ PrivateKeyPath : filepath .Join (tempDir , "key.pem" ),
37+ PublicKeyPath : filepath .Join (tempDir , "key.pub" ),
3838 },
3939 Auth : model.AuthConfig {
4040 SessionExpiry : 10 ,
4141 LoginTimeout : 10 ,
4242 LoginMaxRetries : 3 ,
4343 },
4444 Database : model.DatabaseConfig {
45- Path : path .Join (tempDir , "test.db" ),
45+ Path : filepath .Join (tempDir , "test.db" ),
4646 },
4747 Resources : model.ResourcesConfig {
4848 Enabled : true ,
49- Path : path .Join (tempDir , "resources" ),
49+ Path : filepath .Join (tempDir , "resources" ),
5050 },
5151 }
5252
You can’t perform that action at this time.
0 commit comments