Skip to content

Commit

Permalink
Update JVM SDK to latest version (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluiz authored Dec 6, 2018
1 parent 806fcf1 commit 8840dd8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import sbt._
object Dependencies {
private val sunriseThemeVersion = "0.72.0"
val sunriseEmailVersion = "0.3.0"
private val jvmSdkVersion = "1.17.0"
private val jvmSdkVersion = "1.37.0"
private val jacksonVersion = "2.7.5"

lazy val jvmSdk = Seq (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.commercetools.sunrise.test;

import io.sphere.sdk.client.SphereApiConfig;
import io.sphere.sdk.client.SphereClient;
import io.sphere.sdk.client.SphereRequest;
import io.sphere.sdk.client.TimeoutSphereClientDecorator;
Expand Down Expand Up @@ -27,6 +28,21 @@ public void close() {

}

@Override
public SphereApiConfig getConfig() {
return new SphereApiConfig() {
@Override
public String getApiUrl() {
return "fakeUrl";
}

@Override
public String getProjectKey() {
return "fakeProject";
}
};
}

@Override
public String toString() {
return "TestableSphereClient";
Expand Down

0 comments on commit 8840dd8

Please sign in to comment.