Skip to content

Commit

Permalink
chore: renaming setup for pulsar
Browse files Browse the repository at this point in the history
  • Loading branch information
fracasula committed Jan 24, 2024
1 parent 898ec59 commit b8b324f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testhelper/docker/resource/pulsar/pulsar.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Resource struct {
AdminURL string
}

func SetupPulsar(pool *dockertest.Pool, d resource.Cleaner, opts ...Opt) (*Resource, error) {
func Setup(pool *dockertest.Pool, d resource.Cleaner, opts ...Opt) (*Resource, error) {
c := &Config{
Tag: "3.1.2",
}
Expand Down
2 changes: 1 addition & 1 deletion testhelper/docker/resource/pulsar/pulsar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestPulsar(t *testing.T) {
pool, err := dockertest.NewPool("")
require.NoError(t, err)

pulsarContainer, err := SetupPulsar(pool, t)
pulsarContainer, err := Setup(pool, t)
require.NoError(t, err)

res, err := http.Head(pulsarContainer.AdminURL + "/admin/v2/namespaces/public/default")
Expand Down

0 comments on commit b8b324f

Please sign in to comment.