diff --git a/ical4j-connector-dav/src/test/groovy/org/ical4j/connector/dav/BaikalIntegrationTest.groovy b/ical4j-connector-dav/src/test/groovy/org/ical4j/connector/dav/BaikalIntegrationTest.groovy index 3135e0b..6f0106b 100644 --- a/ical4j-connector-dav/src/test/groovy/org/ical4j/connector/dav/BaikalIntegrationTest.groovy +++ b/ical4j-connector-dav/src/test/groovy/org/ical4j/connector/dav/BaikalIntegrationTest.groovy @@ -6,7 +6,7 @@ class BaikalIntegrationTest extends AbstractIntegrationTest implements BaikalTes given: 'a dav client instance' URL href = URI.create(getContainerUrl()).toURL() def client = new DavClientFactory().withPreemptiveAuth(true) - .newInstance(href) + .withFollowRedirects(true).newInstance(href) when: 'a session is started' def supportedFeatures = client.begin(getCredentialsProvider())