-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(maestro): fixing and adding new tests.
- Loading branch information
Luiz Pegoraro
committed
Sep 28, 2023
1 parent
6261e45
commit e491554
Showing
4 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package service | ||
|
||
import ( | ||
"context" | ||
"github.com/orb-community/orb/maestro/redis/producer" | ||
"go.uber.org/zap" | ||
) | ||
|
||
type testProducer struct { | ||
logger *zap.Logger | ||
} | ||
|
||
func NewTestProducer(logger *zap.Logger) producer.Producer { | ||
return &testProducer{logger: logger} | ||
} | ||
|
||
func (t *testProducer) PublishSinkStatus(_ context.Context, _ string, _ string, _ string, _ string) error { | ||
return nil | ||
} |