diff --git a/emarsys-sdk/src/androidTest/java/com/emarsys/PredictIntegrationTest.kt b/emarsys-sdk/src/androidTest/java/com/emarsys/PredictIntegrationTest.kt index 1f1b1af9..58398f3f 100644 --- a/emarsys-sdk/src/androidTest/java/com/emarsys/PredictIntegrationTest.kt +++ b/emarsys-sdk/src/androidTest/java/com/emarsys/PredictIntegrationTest.kt @@ -51,7 +51,7 @@ class PredictIntegrationTest : AnnotationSpec() { val connectionRule = ConnectionRule(application) companion object { - private const val CONTACT_FIELD_ID = 3 + private const val CONTACT_FIELD_ID = 62470 private const val MERCHANT_ID = "1428C8EE286EC34B" private const val OTHER_MERCHANT_ID = "test_1428C8EE286EC34B" const val ITEM1 = "12800" @@ -509,8 +509,7 @@ class PredictIntegrationTest : AnnotationSpec() { clientStateStorage.set("predict-integration-test") } - - Emarsys.setContact(CONTACT_FIELD_ID, "test@test.com") + Emarsys.setContact(CONTACT_FIELD_ID, "test2@test.com") testMultipleInvocations() } @@ -518,7 +517,7 @@ class PredictIntegrationTest : AnnotationSpec() { fun testConfig_changeMerchantId() { val originalMerchantId = Emarsys.config.merchantId Emarsys.config.changeMerchantId(OTHER_MERCHANT_ID) - originalMerchantId shouldNotBe Emarsys.config.applicationCode + originalMerchantId shouldNotBe Emarsys.config.merchantId Emarsys.config.merchantId shouldBe OTHER_MERCHANT_ID }