This repository was archived by the owner on Jun 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
test-lib/app/com/commercetools/sunrise/test Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import sbt._
55object Dependencies {
66 private val sunriseThemeVersion = " 0.72.0"
77 val sunriseEmailVersion = " 0.3.0"
8- private val jvmSdkVersion = " 1.17 .0"
8+ private val jvmSdkVersion = " 1.37 .0"
99 private val jacksonVersion = " 2.7.5"
1010
1111 lazy val jvmSdk = Seq (
Original file line number Diff line number Diff line change 11package com .commercetools .sunrise .test ;
22
3+ import io .sphere .sdk .client .SphereApiConfig ;
34import io .sphere .sdk .client .SphereClient ;
45import io .sphere .sdk .client .SphereRequest ;
56import io .sphere .sdk .client .TimeoutSphereClientDecorator ;
@@ -27,6 +28,21 @@ public void close() {
2728
2829 }
2930
31+ @ Override
32+ public SphereApiConfig getConfig () {
33+ return new SphereApiConfig () {
34+ @ Override
35+ public String getApiUrl () {
36+ return "fakeUrl" ;
37+ }
38+
39+ @ Override
40+ public String getProjectKey () {
41+ return "fakeProject" ;
42+ }
43+ };
44+ }
45+
3046 @ Override
3147 public String toString () {
3248 return "TestableSphereClient" ;
You can’t perform that action at this time.
0 commit comments