Skip to content

Commit c8e8e10

Browse files
update provider step in flagd testframework
Signed-off-by: Alexandra Oberaigner <[email protected]>
1 parent 3d733ef commit c8e8e10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/flagd/testframework/provider_steps.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ func InitializeProviderSteps(ctx *godog.ScenarioContext) {
2828
ctx.Step(`^a (\w+) flagd provider$`,
2929
withState1Arg((*TestState).createSpecializedFlagdProvider))
3030

31-
// TODO: deprecate 'is' variant after flagd-testbed/pull/#311 is merged
32-
ctx.Step(`^the client (?:is|should be) in (\w+) state$`,
31+
ctx.Step(`^the client should be in (\w+) state$`,
3332
withState1Arg((*TestState).assertClientState))
3433
}
3534

@@ -161,7 +160,8 @@ func (s *TestState) applySpecializedConfig(providerType string) error {
161160
return nil
162161
case "unavailable":
163162
return s.configureUnavailableProvider()
164-
case "forbidden": return s.configureForbiddenProvider()
163+
case "forbidden":
164+
return s.configureForbiddenProvider()
165165
case "socket":
166166
return s.configureSocketProvider()
167167
case "ssl", "tls":

0 commit comments

Comments
 (0)