revert tenantaware

remove useless findAlltargets
fix typo

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
SirWayne
2016-07-28 14:57:56 +02:00
parent faac47d6e4
commit a74ec2897c
3 changed files with 2 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ public interface TenantAware {
* the return type of the runner * the return type of the runner
*/ */
@FunctionalInterface @FunctionalInterface
public interface TenantRunner<T> { interface TenantRunner<T> {
/** /**
* Called to run specific code and a given tenant. * Called to run specific code and a given tenant.
* *

View File

@@ -76,7 +76,7 @@ public class EntityInterceptorListenerTest extends AbstractJpaIntegrationTest {
@Test @Test
@Description("Verfies that the post remove is called after a entity deletion.") @Description("Verfies that the post remove is called after a entity deletion.")
public void postRemoveIsCalledWhenDeletinggATarget() { public void postRemoveIsCalledWhenDeletingATarget() {
executeDeleteAndAssertCallbackResult(new PostRemoveEntityListener()); executeDeleteAndAssertCallbackResult(new PostRemoveEntityListener());
} }

View File

@@ -182,9 +182,6 @@ public abstract class AbstractIntegrationTest implements EnvironmentAware {
@After @After
public void after() { public void after() {
testRepositoryManagement.clearTestRepository(); testRepositoryManagement.clearTestRepository();
targetManagement.findAllTargetIds();
} }
protected DefaultMockMvcBuilder createMvcWebAppContext() { protected DefaultMockMvcBuilder createMvcWebAppContext() {