Skip to content

Commit

Permalink
Put back test
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Aug 2, 2023
1 parent caea56f commit 37e6297
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,9 @@ func TestClientWithVariantContext(t *testing.T) {

client.WaitForReady()

//defaultVariant := client.GetVariant("feature-name")
//
//assert.Equal(api.GetDefaultVariant(), defaultVariant)
defaultVariant := client.GetVariant("feature-name")

assert.Equal(api.GetDefaultVariant(), defaultVariant)
variant := client.GetVariant("feature-name", WithVariantContext(context.Context{
Properties: map[string]string{"custom-id": "custom-ctx"},
}))
Expand Down

0 comments on commit 37e6297

Please sign in to comment.