diff --git a/modules/work/application/agent_dispatch_test.go b/modules/work/application/agent_dispatch_test.go index dd04ff8..f28e4f0 100644 --- a/modules/work/application/agent_dispatch_test.go +++ b/modules/work/application/agent_dispatch_test.go @@ -14,8 +14,14 @@ type bridgeStore struct { } func (s *bridgeStore) SaveDispatchIntent(context.Context, work.AgentDispatchIntent) error { return nil } -func (s *bridgeStore) SaveAgentLease(_ context.Context, lease work.AgentLease) error { s.lease = lease; return nil } -func (s *bridgeStore) AcceptAgentCallback(_ context.Context, callback work.AgentCallback) error { s.callbacks = append(s.callbacks, callback); return nil } +func (s *bridgeStore) SaveAgentLease(_ context.Context, lease work.AgentLease) error { + s.lease = lease + return nil +} +func (s *bridgeStore) AcceptAgentCallback(_ context.Context, callback work.AgentCallback) error { + s.callbacks = append(s.callbacks, callback) + return nil +} type bridgeExecutor struct{}