Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-lg committed May 19, 2021
1 parent 28f4280 commit 70d3877
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ public abstract class BaseCollectionEntityServiceIT<
& LenientEquals<T>>
extends BaseServiceIT {

// the audit log is tested in the AuditLogIT
@MockBean private AuditLogger auditLogger;

protected final CollectionEntityService<T> collectionEntityService;
protected final Class<T> paramType;
protected final TestData<T> testData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import org.gbif.api.vocabulary.UserRole;
import org.gbif.registry.database.RegistryDatabaseInitializer;
import org.gbif.registry.events.collections.AuditLogger;
import org.gbif.registry.search.test.EsManageServer;
import org.gbif.registry.ws.it.RegistryIntegrationTestsConfiguration;
import org.gbif.registry.ws.it.fixtures.RequestTestFixture;
Expand Down Expand Up @@ -68,6 +69,9 @@
@ActiveProfiles({"test", "mock"})
public class BaseServiceIT {

// the audit log is tested in the AuditLogIT
@MockBean private AuditLogger auditLogger;

public static class EsContainerContextInitializer
implements ApplicationContextInitializer<ConfigurableApplicationContext> {

Expand Down

0 comments on commit 70d3877

Please sign in to comment.