Skip to content

Commit 661d78c

Browse files
committed
Tag adjustments
1 parent 2f1473f commit 661d78c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

library/src/test/java/io/constructor/core/ConstructorIoIntegrationTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class ConstructorIoIntegrationTest {
156156

157157
@Test
158158
fun getRecommendationResultsAgainstRealResponse() {
159-
val observer = constructorIo.getRecommendationResults("best_sellers").test()
159+
val observer = constructorIo.getRecommendationResults("pdp5").test()
160160
observer.assertComplete().assertValue {
161161
it.get()?.resultId !== null
162162
it.get()?.response?.pod !== null

library/src/test/java/io/constructor/core/ConstructorIoRecommendationsTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ConstructorIoRecommendationsTest {
6868
}
6969
val request = mockServer.takeRequest()
7070
println(request.path)
71-
val path = "/recommendations/v1/pods/titanic?key=golden-key&i=guido-the-guid&ui=player-one&s=79&c=cioand-2.6.0&_dt="
71+
val path = "/recommendations/v1/pods/titanic?key=golden-key&i=guido-the-guid&ui=player-one&s=79&c=cioand-2.9.0&_dt="
7272
assert(request.path.startsWith(path))
7373
}
7474

@@ -81,7 +81,7 @@ class ConstructorIoRecommendationsTest {
8181
it.networkError
8282
}
8383
val request = mockServer.takeRequest()
84-
val path = "/recommendations/v1/pods/titanic?key=golden-key&i=guido-the-guid&ui=player-one&s=79&c=cioand-2.6.0&_dt="
84+
val path = "/recommendations/v1/pods/titanic?key=golden-key&i=guido-the-guid&ui=player-one&s=79&c=cioand-2.9.0&_dt="
8585
assert(request.path.startsWith(path))
8686
}
8787

@@ -95,7 +95,7 @@ class ConstructorIoRecommendationsTest {
9595
it.isError
9696
}
9797
val request = mockServer.takeRequest()
98-
val path = "/recommendations/v1/pods/titanic?key=golden-key&i=guido-the-guid&ui=player-one&s=79&c=cioand-2.6.0&_dt="
98+
val path = "/recommendations/v1/pods/titanic?key=golden-key&i=guido-the-guid&ui=player-one&s=79&c=cioand-2.9.0&_dt="
9999
assert(request.path.startsWith(path))
100100
}
101101

@@ -109,7 +109,7 @@ class ConstructorIoRecommendationsTest {
109109
it.get()!!.response?.resultCount == 0
110110
}
111111
val request = mockServer.takeRequest()
112-
val path = "/recommendations/v1/pods/titanic?key=golden-key&i=guido-the-guid&ui=player-one&s=79&c=cioand-2.6.0&_dt="
112+
val path = "/recommendations/v1/pods/titanic?key=golden-key&i=guido-the-guid&ui=player-one&s=79&c=cioand-2.9.0&_dt="
113113
assert(request.path.startsWith(path))
114114
}
115115
}

0 commit comments

Comments
 (0)