task/841 Remove unused configuration from test/application.properties

This commit is contained in:
Martin Rojas Miguel Angel 2019-03-18 15:08:18 +01:00 committed by Holger Hagen
parent ddb47e5e6d
commit 237ebeaecf
2 changed files with 3 additions and 12 deletions

View File

@ -42,8 +42,7 @@ import pro.taskana.rest.resource.WorkbasketAccessItemResource;
*/ */
@FixMethodOrder(MethodSorters.NAME_ASCENDING) @FixMethodOrder(MethodSorters.NAME_ASCENDING)
@RunWith(SpringRunner.class) @RunWith(SpringRunner.class)
@SpringBootTest(classes = RestConfiguration.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, @SpringBootTest(classes = RestConfiguration.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
properties = {"devMode=true"})
public class WorkbasketAccessItemControllerIntTest { public class WorkbasketAccessItemControllerIntTest {
String url = "http://127.0.0.1:"; String url = "http://127.0.0.1:";
@ -123,6 +122,7 @@ public class WorkbasketAccessItemControllerIntTest {
@Test @Test
public void testRemoveWorkbasketAccessItemsOfUser() { public void testRemoveWorkbasketAccessItemsOfUser() {
String parameters = "/v1/workbasket-access-items/?access-id=user_1_1"; String parameters = "/v1/workbasket-access-items/?access-id=user_1_1";
ResponseEntity<Void> response = template.exchange( ResponseEntity<Void> response = template.exchange(
url + port + parameters, HttpMethod.DELETE, request, url + port + parameters, HttpMethod.DELETE, request,

View File

@ -6,11 +6,6 @@ datasource.driverClassName=org.h2.Driver
datasource.username=sa datasource.username=sa
datasource.password=sa datasource.password=sa
taskana.schemaName=TASKANA taskana.schemaName=TASKANA
####### property that control rest api security deploy use true for no security.
devMode=false
####### Property that informs about the Taskana's version. This version is shown the application web
version=@project.version@
####### control LDAP usage ####### control LDAP usage
taskana.ldap.useLdap=false taskana.ldap.useLdap=false
@ -32,10 +27,6 @@ taskana.ldap.groupSearchFilterValue=groupOfUniqueNames
taskana.ldap.groupNameAttribute=cn taskana.ldap.groupNameAttribute=cn
taskana.ldap.minSearchForLength=3 taskana.ldap.minSearchForLength=3
taskana.ldap.maxNumberOfReturnedAccessIds=50 taskana.ldap.maxNumberOfReturnedAccessIds=50
####### JobScheduler cron expression that specifies when the JobSchedler runs ####### JobScheduler cron expression that specifies when the JobSchedler runs
taskana.jobscheduler.async.cron=0/5 * * * * * taskana.jobscheduler.async.cron=0/5 * * * * *
####### cache static resources properties
spring.resources.cache.cachecontrol.cache-private=true
####### tomcat is not detecting the x-forward headers from bluemix as a trustworthy proxy
server.tomcat.internal-proxies=.*
server.use-forward-headers=true