- splitted account deletion to 2 separate endpoints: /api/customers/{customerId}/toaccounts/{accountId} and /api/accounts/{accountId}

- simplified the tests
- cleared the code
This commit is contained in:
dartpopikyardo
2016-09-20 03:55:44 +03:00
parent fe925ac14a
commit 0f21a057b0
56 changed files with 228 additions and 374 deletions

View File

@@ -2,7 +2,6 @@ package net.chrisrichardson.eventstore.examples.bank.web;
import net.chrisrichardson.eventstorestore.javaexamples.testutil.AbstractRestAPITest;
import net.chrisrichardson.eventstorestore.javaexamples.testutil.AuthenticatedRestTemplate;
import net.chrisrichardson.eventstorestore.javaexamples.testutil.CustomersTestUtils;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
@@ -43,11 +42,6 @@ public class EndToEndTest extends AbstractRestAPITest {
return customersTestUtils;
}
@Override
public AuthenticatedRestTemplate getAuthenticatedRestTemplate() {
return new AuthenticatedRestTemplate(restTemplate);
}
@Override
public RestTemplate getRestTemplate() {
return restTemplate;