Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aphralG committed May 20, 2024
1 parent 77bfdbf commit 7e7d14b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/plugin/plugin_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"log/slog"
"testing"

"github.com/nginx/agent/v3/internal/resource"

"github.com/nginx/agent/v3/internal/bus"
"github.com/nginx/agent/v3/internal/config"
"github.com/stretchr/testify/assert"
Expand All @@ -30,6 +32,7 @@ func TestLoadPLugins(t *testing.T) {
expected: []bus.Plugin{
&ProcessMonitor{},
&Resource{},
&resource.Resource{},
&Config{},
},
}, {
Expand All @@ -39,6 +42,7 @@ func TestLoadPLugins(t *testing.T) {
},
expected: []bus.Plugin{
&Resource{},
&resource.Resource{},
&Metrics{},
&Config{},
},
Expand Down

0 comments on commit 7e7d14b

Please sign in to comment.