mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-10-24 07:43:01 +02:00
1 parent
894e607efb
commit
dfb501f8b9
31 files changed
+126
-500
No files matched your search
+1
-9
@@ -45,11 +45,6 @@ func Config(ctx context.Context) (*catalyst.Config, error) {
|
||||
User: "minio",
|
||||
Password: "minio123",
|
||||
},
|
||||
Bus: &bus.Config{
|
||||
Host: "tcp://localhost:9001",
|
||||
Key: "A9RysEsPJni8RaHeg_K0FKXQNfBrUyw-",
|
||||
APIUrl: "http://localhost:8002/api",
|
||||
},
|
||||
Secret: []byte("4ef5b29539b70233dd40c02a1799d25079595565e05a193b09da2c3e60ada1cd"),
|
||||
Auth: &catalyst.AuthConfig{
|
||||
OIDCIssuer: "http://localhost:9002/auth/realms/catalyst",
|
||||
@@ -100,10 +95,7 @@ func Bus(t *testing.T) (context.Context, *catalyst.Config, *bus.Bus, error) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
catalystBus, err := bus.New(config.Bus)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
catalystBus := bus.New()
|
||||
|
||||
return ctx, config, catalystBus, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user