From 153346fea06ee480bb28b264e223c9c4611217af Mon Sep 17 00:00:00 2001 From: harshitvora Date: Fri, 30 Mar 2018 16:15:54 -0400 Subject: [PATCH] fixed sample --- samples/token/src/main/java/SaleWithTokenExample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/token/src/main/java/SaleWithTokenExample.java b/samples/token/src/main/java/SaleWithTokenExample.java index ae64932b..cb8adc3d 100755 --- a/samples/token/src/main/java/SaleWithTokenExample.java +++ b/samples/token/src/main/java/SaleWithTokenExample.java @@ -21,7 +21,7 @@ public static void main(String[] args) { System.out.println("Response: " + response.getResponse()); System.out.println("Message: " + response.getMessage()); System.out.println("Litle Transaction ID: " + response.getLitleTxnId()); - if(!response.getMessage().equals("Approved")) + if(!response.getMessage().equals("Transaction Received")) throw new RuntimeException(" The SaleWithTokenExample does not give the right response"); } }