Skip to content

Commit b7e5e32

Browse files
committed
Version Bump
1 parent 20db0b5 commit b7e5e32

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ android {
2020
targetSdkVersion 27
2121
testInstrumentationRunner "${applicationId}.runner.RxAndroidJUnitRunner"
2222
versionCode 1
23-
versionName '0.2.0'
23+
versionName '1.0.0'
2424
buildConfigField("String", "CLIENT_VERSION", "\"cioand-${versionName}\"")
2525
buildConfigField("String", "AUTOCOMPLETE_SECTION", "\"Products\"")
2626
buildConfigField("String", "BASE_API_URL", "\"https://ac.cnstrc.com\"")

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class ConstructorIoTest {
9191

9292
@Test
9393
fun verifySessionStartUrl() {
94-
val expected = "https://ac.cnstrc.com/behavior?c=cioand-0.2.0&s=1&action=session_start&autocomplete_key=testKey&_dt=1520000000000"
94+
val expected = "https://ac.cnstrc.com/behavior?c=cioand-1.0.0&s=1&action=session_start&autocomplete_key=testKey&_dt=1520000000000"
9595
val urlBuilder = HttpUrl.Builder().scheme("https")
9696
.host("ac.cnstrc.com")
9797
.addPathSegment("behavior")
@@ -106,7 +106,7 @@ class ConstructorIoTest {
106106

107107
@Test
108108
fun verifySearchClickThroughEvent() {
109-
val expected = "https://ac.cnstrc.com/autocomplete/term/click_through?c=cioand-0.2.0&s=1&autocomplete_section=Products&autocomplete_key=testKey&_dt=1520000000000"
109+
val expected = "https://ac.cnstrc.com/autocomplete/term/click_through?c=cioand-1.0.0&s=1&autocomplete_section=Products&autocomplete_key=testKey&_dt=1520000000000"
110110
val urlBuilder = HttpUrl.Builder().scheme("https")
111111
.host("ac.cnstrc.com")
112112
.addPathSegment("autocomplete")
@@ -123,7 +123,7 @@ class ConstructorIoTest {
123123

124124
@Test
125125
fun verifySearchLoadedEventUrl() {
126-
val expected = "https://ac.cnstrc.com/behavior?c=cioand-0.2.0&s=1&action=search-results&autocomplete_key=testKey&_dt=1520000000000"
126+
val expected = "https://ac.cnstrc.com/behavior?c=cioand-1.0.0&s=1&action=search-results&autocomplete_key=testKey&_dt=1520000000000"
127127
val urlBuilder = HttpUrl.Builder().scheme("https")
128128
.host("ac.cnstrc.com")
129129
.addPathSegment("behavior")
@@ -138,7 +138,7 @@ class ConstructorIoTest {
138138

139139
@Test
140140
fun verifyInputFocusEvent() {
141-
val expected = "https://ac.cnstrc.com/behavior?c=cioand-0.2.0&i=user_id&s=1&action=focus&autocomplete_key=testKey&_dt=1520000000000"
141+
val expected = "https://ac.cnstrc.com/behavior?c=cioand-1.0.0&i=user_id&s=1&action=focus&autocomplete_key=testKey&_dt=1520000000000"
142142
val urlBuilder = HttpUrl.Builder().scheme("https")
143143
.host("ac.cnstrc.com")
144144
.addPathSegment("behavior")

0 commit comments

Comments
 (0)