Skip to content

Commit

Permalink
OLMIS-6374 Add new profile for audit logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwedel committed Jun 25, 2019
1 parent b5b7dbd commit 1fa77f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import org.springframework.transaction.annotation.Transactional;

@Transactional
@ActiveProfiles({"test", "refresh-db"})
@ActiveProfiles({"test", "init-audit-log"})
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
public class AuditLogInitializerIntegrationTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
*/

@Component
@Profile("refresh-db")
@Profile("init-audit-log")
@Transactional
public class AuditLogInitializer implements CommandLineRunner {
private static final Logger LOGGER = LoggerFactory.getLogger(AuditLogInitializer.class);
Expand Down

0 comments on commit 1fa77f6

Please sign in to comment.