Skip to content

Commit 91ac11e

Browse files
committed
fix: add metadata to variant
1 parent dd11622 commit 91ac11e

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.env.proooood

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MANAGEMENT_API_KEY=ampex_17DxIZYE2TNcwXo3_zuwlQlDiTLdPOTjF5PtFcUrIpMPJZhIY

.env.staging

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
SERVER_URL=https://skylab-api.staging.amplitude.com
2+
STREAM_SERVER_URL=https://skylab-stream.stag2.amplitude.com
3+
MANAGEMENT_API_SERVER_URL=https://experiment.staging.amplitude.com
4+
DEPLOYMENT_KEY=server-mwcagOvLirzlsdJAE8Lgr5zKvIIh9GXS
5+
MANAGEMENT_API_KEY=ampex_NByF9pXwyA1NHf5B_tPAGucsZger5TrAPhtLYuIWLbTupnMTV

src/test/kotlin/RemoteEvaluationClientTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class RemoteEvaluationClientTest {
4141
}
4242

4343
private val testFlagKey = "sdk-ci-test"
44-
private val testVariant = Variant(key = "on", value = "on", payload = "payload")
44+
private val testVariant = Variant(key = "on", value = "on", payload = "payload", metadata = mapOf("evaluationId" to ""))
4545

4646
private val testUser = ExperimentUser(userId = "test_user")
4747

0 commit comments

Comments
 (0)