Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziosestito committed Oct 18, 2022
1 parent 80c3d70 commit 616ae06
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions integration_test/factsengine_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (

"github.com/stretchr/testify/suite"
"golang.org/x/sync/errgroup"
"google.golang.org/protobuf/types/known/structpb"

"github.com/trento-project/agent/internal/factsengine"
"github.com/trento-project/agent/internal/factsengine/adapters"
Expand Down Expand Up @@ -138,15 +139,23 @@ func (suite *FactsEngineIntegrationTestSuite) TestFactsEngineIntegration() {
{
CheckId: "check1",
Name: "test1",
Value: &events.Fact_NumericValue{
NumericValue: 0,
FactValue: &events.Fact_Value{
Value: &structpb.Value{
Kind: &structpb.Value_NumberValue{
NumberValue: float64(0),
},
},
},
},
{
CheckId: "check2",
Name: "test2",
Value: &events.Fact_NumericValue{
NumericValue: 1,
FactValue: &events.Fact_Value{
Value: &structpb.Value{
Kind: &structpb.Value_NumberValue{
NumberValue: float64(1),
},
},
},
},
},
Expand Down

0 comments on commit 616ae06

Please sign in to comment.