fix: align group management APIs
This commit is contained in:
@@ -128,9 +128,7 @@ func TestEnqueueKafkaWorkbenchEventRunsSynchronously(t *testing.T) {
|
||||
}()
|
||||
|
||||
kafkaBus = &kafkaRuntime{}
|
||||
infrastructure := &testHTTPInfrastructureStore{}
|
||||
security := &testSecurityStore{}
|
||||
store.HTTPInfrastructure = infrastructure
|
||||
store.Security = security
|
||||
|
||||
err := enqueueKafkaWorkbenchEvent(context.Background(), 7, types.Uid(42), "meeting", "meeting.created", "meeting-1",
|
||||
@@ -144,7 +142,4 @@ func TestEnqueueKafkaWorkbenchEventRunsSynchronously(t *testing.T) {
|
||||
if security.notifications[0].UserID != types.Uid(43) || security.notifications[0].EventType != "meeting.created" {
|
||||
t.Fatalf("unexpected notification: %#v", security.notifications[0])
|
||||
}
|
||||
if len(infrastructure.events) != 2 {
|
||||
t.Fatalf("expected business events for both targets, got %#v", infrastructure.events)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user