Skip to content

Commit

Permalink
add constant
Browse files Browse the repository at this point in the history
  • Loading branch information
lijamie98 committed Jun 16, 2023
1 parent a3ead3a commit 7a2e22f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import org.stellar.anchor.auth.Sep24InteractiveUrlJwt
import org.stellar.anchor.config.SecretConfig
import org.stellar.anchor.platform.config.PropertySep24Config
import org.stellar.anchor.platform.data.JdbcSep24Transaction
import org.stellar.anchor.platform.service.SimpleInteractiveUrlConstructor.FORWARD_KYC_CUSTOMER_TYPE
import org.stellar.anchor.util.GsonUtils

@Suppress("UNCHECKED_CAST")
Expand Down Expand Up @@ -80,7 +81,7 @@ class SimpleInteractiveUrlConstructorTest {
val constructor = SimpleInteractiveUrlConstructor(sep24Config, customerIntegration, jwtService)
sep24Config.kycFieldsForwarding.isEnabled = true
constructor.construct(txn, request as HashMap<String, String>?)
assertEquals(capturedPutCustomerRequest.captured.type, "sep24-customer")
assertEquals(capturedPutCustomerRequest.captured.type, FORWARD_KYC_CUSTOMER_TYPE)
assertEquals(capturedPutCustomerRequest.captured.firstName, request.get("first_name"))
assertEquals(capturedPutCustomerRequest.captured.lastName, request.get("last_name"))
assertEquals(capturedPutCustomerRequest.captured.emailAddress, request.get("email_address"))
Expand Down

0 comments on commit 7a2e22f

Please sign in to comment.