|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2018 the original author or authors.
|
|
|
|
|
* Copyright 2012-2019 the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -28,6 +28,7 @@ import org.junit.jupiter.api.extension.ExtendWith;
|
|
|
|
|
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.boot.test.autoconfigure.OverrideAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.test.autoconfigure.core.AutoConfigureCache;
|
|
|
|
|
import org.springframework.boot.test.autoconfigure.filter.TypeExcludeFilters;
|
|
|
|
|
import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase;
|
|
|
|
|
import org.springframework.context.annotation.ComponentScan.Filter;
|
|
|
|
@ -64,6 +65,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
@OverrideAutoConfiguration(enabled = false)
|
|
|
|
|
@TypeExcludeFilters(JooqTypeExcludeFilter.class)
|
|
|
|
|
@Transactional
|
|
|
|
|
@AutoConfigureCache
|
|
|
|
|
@AutoConfigureJooq
|
|
|
|
|
@ImportAutoConfiguration
|
|
|
|
|
public @interface JooqTest {
|
|
|
|
|