Skip to content

Commit 30dda72

Browse files
fix(deps): update module github.com/open-feature/go-sdk-contrib/tests/flagd to v1.3.1 (#760)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/open-feature/go-sdk-contrib/tests/flagd](https://togithub.com/open-feature/go-sdk-contrib) | require | patch | `v1.3.0` -> `v1.3.1` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-feature/flagd). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Signed-off-by: Todd Baert <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Todd Baert <[email protected]>
1 parent 8a4de03 commit 30dda72

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

flagd/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/mattn/go-colorable v0.1.13
99
github.com/open-feature/flagd/core v0.6.7
1010
github.com/open-feature/go-sdk-contrib/providers/flagd v0.1.17
11-
github.com/open-feature/go-sdk-contrib/tests/flagd v1.3.0
11+
github.com/open-feature/go-sdk-contrib/tests/flagd v1.3.1
1212
github.com/spf13/cobra v1.7.0
1313
github.com/spf13/viper v1.17.0
1414
go.uber.org/zap v1.26.0

flagd/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,8 @@ github.com/open-feature/go-sdk-contrib/providers/flagd v0.1.17 h1:Ivx0USjWI2iXq2
694694
github.com/open-feature/go-sdk-contrib/providers/flagd v0.1.17/go.mod h1:ndXCZtJ3xvUK/MQlyHcs8gwW1UQmVMhFGV+OgcUj9TQ=
695695
github.com/open-feature/go-sdk-contrib/tests/flagd v1.3.0 h1:XstvqjyOAo7s0no2z7R8kN1TrIRWzXtu867h0O+gzkk=
696696
github.com/open-feature/go-sdk-contrib/tests/flagd v1.3.0/go.mod h1:Hb/nrUmwLdo4j+r+WwdBR0jXFaVrKdbVOHaQgq6ra2A=
697+
github.com/open-feature/go-sdk-contrib/tests/flagd v1.3.1 h1:oGozIhxePSlE1mvJgWmbYgERHt7BlOFxKCoJgoP2dLI=
698+
github.com/open-feature/go-sdk-contrib/tests/flagd v1.3.1/go.mod h1:Hb/nrUmwLdo4j+r+WwdBR0jXFaVrKdbVOHaQgq6ra2A=
697699
github.com/open-feature/open-feature-operator v0.2.36 h1:dzyZh9JSIRvXkfpM9ynYplNk7vjQFLs9sd5aHhF48z4=
698700
github.com/open-feature/open-feature-operator v0.2.36/go.mod h1:nM7T4oGQukeGmcAFkQm0uwt8WFdDb5hYPjXkm7pHhX4=
699701
github.com/open-feature/schemas v0.2.8 h1:oA75hJXpOd9SFgmNI2IAxWZkwzQPUDm7Jyyh3q489wM=

flagd/tests/integration/evaluation_test.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"github.com/cucumber/godog"
88
flagd "github.com/open-feature/go-sdk-contrib/providers/flagd/pkg"
99
"github.com/open-feature/go-sdk-contrib/tests/flagd/pkg/integration"
10+
"github.com/open-feature/go-sdk/pkg/openfeature"
1011
)
1112

1213
func TestEvaluation(t *testing.T) {
@@ -25,8 +26,10 @@ func TestEvaluation(t *testing.T) {
2526
}
2627

2728
testSuite := godog.TestSuite{
28-
Name: name,
29-
ScenarioInitializer: integration.InitializeEvaluationScenario(providerOptions...),
29+
Name: name,
30+
ScenarioInitializer: integration.InitializeEvaluationScenario(func() openfeature.FeatureProvider {
31+
return flagd.NewProvider(providerOptions...)
32+
}),
3033
Options: &godog.Options{
3134
Format: "pretty",
3235
Paths: []string{"../../../spec/specification/assets/gherkin/evaluation.feature"},

flagd/tests/integration/json_evaluator_test.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"github.com/cucumber/godog"
88
flagd "github.com/open-feature/go-sdk-contrib/providers/flagd/pkg"
99
"github.com/open-feature/go-sdk-contrib/tests/flagd/pkg/integration"
10+
"github.com/open-feature/go-sdk/pkg/openfeature"
1011
)
1112

1213
func TestJsonEvaluator(t *testing.T) {
@@ -20,8 +21,10 @@ func TestJsonEvaluator(t *testing.T) {
2021
name := "flagd-json-evaluator.feature"
2122

2223
testSuite := godog.TestSuite{
23-
Name: name,
24-
ScenarioInitializer: integration.InitializeFlagdJsonScenario(providerOptions...),
24+
Name: name,
25+
ScenarioInitializer: integration.InitializeFlagdJsonScenario(func() openfeature.FeatureProvider {
26+
return flagd.NewProvider(providerOptions...)
27+
}),
2528
Options: &godog.Options{
2629
Format: "pretty",
2730
Paths: []string{"../../../test-harness/gherkin/flagd-json-evaluator.feature"},

0 commit comments

Comments
 (0)