Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/feature/notification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (s *NotificationTestSuite) TestSendNowDatabaseNotification() {
// background runner.
scope, err := tests.OverrideConfig(map[string]any{
"queue.default": "database",
"app.disabled_runners": []string{"app:queue:database", "app:queue:test"},
"app.disabled_runners": []string{"goravel:queue", "app:queue:database", "app:queue:test"},
})
s.Require().NoError(err)
defer func() { s.NoError(scope.Restore()) }()
Expand All @@ -110,7 +110,7 @@ func (s *NotificationTestSuite) TestSendQueuedDatabaseNotification() {

scope, err := tests.OverrideConfig(map[string]any{
"queue.default": "database",
"app.disabled_runners": []string{"app:queue:database", "app:queue:test"},
"app.disabled_runners": []string{"goravel:queue", "app:queue:database", "app:queue:test"},
})
s.Require().NoError(err)
defer func() { s.NoError(scope.Restore()) }()
Expand Down Expand Up @@ -529,7 +529,7 @@ func (s *NotificationTestSuite) extendFlakyChannel(name string, failUntil int, a
func (s *NotificationTestSuite) TestSendQueuedNotificationWithTriesAndBackoff() {
scope, err := tests.OverrideConfig(map[string]any{
"queue.default": "database",
"app.disabled_runners": []string{"app:queue:database", "app:queue:test"},
"app.disabled_runners": []string{"goravel:queue", "app:queue:database", "app:queue:test"},
})
s.Require().NoError(err)
defer func() { s.NoError(scope.Restore()) }()
Expand Down Expand Up @@ -619,7 +619,7 @@ func (s *NotificationTestSuite) TestSendQueuedNotificationWithoutTriesFallsBackT
func (s *NotificationTestSuite) TestSendQueuedNotificationBackoffWithoutTriesSerialized() {
scope, err := tests.OverrideConfig(map[string]any{
"queue.default": "database",
"app.disabled_runners": []string{"app:queue:database", "app:queue:test"},
"app.disabled_runners": []string{"goravel:queue", "app:queue:database", "app:queue:test"},
})
s.Require().NoError(err)
defer func() { s.NoError(scope.Restore()) }()
Expand Down Expand Up @@ -681,7 +681,7 @@ func (s *NotificationTestSuite) TestSendQueuedNotificationBackoffWithoutTriesFal
func (s *NotificationTestSuite) TestSendQueuedOrderFailedCapturesRetryPolicy() {
scope, err := tests.OverrideConfig(map[string]any{
"queue.default": "database",
"app.disabled_runners": []string{"app:queue:database", "app:queue:test"},
"app.disabled_runners": []string{"goravel:queue", "app:queue:database", "app:queue:test"},
})
s.Require().NoError(err)
defer func() { s.NoError(scope.Restore()) }()
Expand All @@ -699,7 +699,7 @@ func (s *NotificationTestSuite) TestSendQueuedOrderFailedCapturesRetryPolicy() {
func (s *NotificationTestSuite) TestSendQueuedNotificationRetriesTransientFailure() {
scope, err := tests.OverrideConfig(map[string]any{
"queue.default": "database",
"app.disabled_runners": []string{"app:queue:database", "app:queue:test"},
"app.disabled_runners": []string{"goravel:queue", "app:queue:database", "app:queue:test"},
})
s.Require().NoError(err)
defer func() { s.NoError(scope.Restore()) }()
Expand Down
Loading