Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed Jun 22, 2023
1 parent a945e85 commit 69b7292
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions server/http/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ func setupController(t *testing.T) controllerFixture {
nil,
nil,
nil,
nil,
mappings.New(traces.NewConversionConfig(), comparator.DefaultRegistry(), mdb),
nil,
&trigger.Registry{},
Expand Down
6 changes: 3 additions & 3 deletions server/model/yaml/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/kubeshop/tracetest/server/model/yaml"
"github.com/kubeshop/tracetest/server/pkg/id"
"github.com/kubeshop/tracetest/server/pkg/maps"
"github.com/kubeshop/tracetest/server/tests"
"github.com/kubeshop/tracetest/server/transaction"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -331,7 +331,7 @@ func TestTransactionModel(t *testing.T) {
cases := []struct {
name string
in yaml.Transaction
expected tests.Transaction
expected transaction.Transaction
}{
{
name: "Basic",
Expand All @@ -341,7 +341,7 @@ func TestTransactionModel(t *testing.T) {
Description: "Some transaction",
Steps: []string{"345"},
},
expected: tests.Transaction{
expected: transaction.Transaction{
ID: id.ID("123"),
Name: "Transaction",
Description: "Some transaction",
Expand Down

0 comments on commit 69b7292

Please sign in to comment.