aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-08-15 10:32:38 +0300
committerGravatar Vitaly Takmazov2019-08-15 10:32:38 +0300
commit6596963b0b61b6a06d59cb1cd0b4054bd09c749a (patch)
treebdd515e37a2c42de49dd9f8113cea6b6675dc7b7 /build.gradle
parent29d8d0a5fb13581eadfc2379fed60eb9762f2c2f (diff)
Allow to run tests with selected profile
TODO: mysql tests does not pass because I don't know how to set NO_AUTO_VALUE_ON_ZERO before data seed
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 73abab13..021b65f7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -62,6 +62,7 @@ ext {
test {
systemProperty 'io.springfox.staticdocs.outputDir', swaggerOutputDir
outputs.dir swaggerOutputDir
+ systemProperty 'spring.profiles.active', "${springProfile}"
}
convertSwagger2markup {