From df4204f9a267281fcbfd157e3ec33c74cfeaab6e Mon Sep 17 00:00:00 2001 From: dartpopikyardo Date: Fri, 9 Sep 2016 21:14:33 +0300 Subject: [PATCH] - shouldCreateAccountsAndTransferMoney fix --- .../javaexamples/testutil/AbstractRestAPITest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-spring/testutil/src/main/java/net/chrisrichardson/eventstorestore/javaexamples/testutil/AbstractRestAPITest.java b/java-spring/testutil/src/main/java/net/chrisrichardson/eventstorestore/javaexamples/testutil/AbstractRestAPITest.java index e083def..7f8913b 100644 --- a/java-spring/testutil/src/main/java/net/chrisrichardson/eventstorestore/javaexamples/testutil/AbstractRestAPITest.java +++ b/java-spring/testutil/src/main/java/net/chrisrichardson/eventstorestore/javaexamples/testutil/AbstractRestAPITest.java @@ -47,7 +47,7 @@ public abstract class AbstractRestAPITest { final String fromAccountId = fromAccount.getAccountId(); CreateAccountResponse toAccount = getAuthenticatedRestTemplate().postForEntity(baseUrl("/accounts"), - new CreateAccountRequest("00000000-00000000", "My 2 Account", "", initialToAccountBalance), + new CreateAccountRequest(customerId, "My 2 Account", "", initialToAccountBalance), CreateAccountResponse.class, email, password); String toAccountId = toAccount.getAccountId();