From 00309de7e0cc2be2523764596d96be100abb2392 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Mon, 29 Sep 2014 23:55:44 +0200 Subject: [PATCH] MIFOSX-1552 Upgrading rest-assured from v1.7.2 to v2.3.3 (incl. reverting httpcomponents change from 848797985af367fc2364e8174f4a2c44c47aa67b + b9cfcce1f901542ead27cef543e2d48eabf7305c as that wasn't the cause), as that fixes the "java.lang.IllegalStateException: Unsupported cookie spec: default at org.apache.http.cookie.CookieSpecRegistry.getCookieSpec(CookieSpecRegistry.java:110)" Signed-off-by: Michael Vorburger --- mifosng-provider/build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mifosng-provider/build.gradle b/mifosng-provider/build.gradle index 6ddf6bac7..a410e9fb5 100644 --- a/mifosng-provider/build.gradle +++ b/mifosng-provider/build.gradle @@ -140,13 +140,12 @@ dependencies { // Although Mifos (at the time of writing) doesn't have any compile time dep. on this, // it's useful to have this for the Spring Boot TestRestTemplate http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-rest-templates-test-utility - //[group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.2.3'], - [group: 'commons-httpclient', name: 'commons-httpclient', version: '3.1'] + [group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.5'] ) testCompile 'junit:junit:4.11', 'junit:junit-dep:4.11', 'org.mockito:mockito-core:1.9.5', - 'com.jayway.restassured:rest-assured:1.7.2', + 'com.jayway.restassured:rest-assured:2.3.3', [group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: springBootVersion] }