Merged in bugfix/regression (pull request #28)
Fix Regression Tests * firstfixes
This commit is contained in:
@@ -21,7 +21,7 @@ func TestNew(t *testing.T) {
|
||||
|
||||
_, cleanup := test.CreateDB(t, ctx, &test.CreateDatabaseConfig{
|
||||
Migrations: &database.MigrationConfig{
|
||||
BasePath: path.Join(os.Getenv("PWD"), "../.."),
|
||||
BasePath: path.Join(os.Getenv("PWD"), "../../.."),
|
||||
},
|
||||
})
|
||||
defer cleanup()
|
||||
@@ -31,7 +31,7 @@ func TestNew(t *testing.T) {
|
||||
}
|
||||
cfg := &Config{
|
||||
RegisterHandlers: registerHandlers,
|
||||
BasePath: path.Join(os.Getenv("PWD"), "../.."),
|
||||
BasePath: path.Join(os.Getenv("PWD"), "../../.."),
|
||||
}
|
||||
|
||||
server := New(ctx, cfg)
|
||||
|
||||
@@ -34,7 +34,7 @@ func TestNew(t *testing.T) {
|
||||
|
||||
queue.NewServer(ctx, &queue.ListenerConfig{
|
||||
Controller: controller,
|
||||
BasePath: path.Join(os.Getenv("PWD"), "../.."),
|
||||
BasePath: path.Join(os.Getenv("PWD"), "../../.."),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user