Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
warmkesselj committed Dec 18, 2024
1 parent 043d4ac commit 1cc0285
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class ShopperInsightsFragment : BaseFragment() {
PresentmentDetails(
ExperimentType.TEST,
ButtonOrder.FIRST,
PageType.homepage
PageType.HOMEPAGE
)
)
}
Expand All @@ -215,7 +215,7 @@ class ShopperInsightsFragment : BaseFragment() {
PresentmentDetails(
ExperimentType.TEST,
ButtonOrder.OTHER,
PageType.homepage
PageType.HOMEPAGE
)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ enum class PageType(internal val stringValue: String) {
/**
* The mini cart
*/
MINI_CAR("mini_cart"),
MINI_CART("mini_cart"),

/**
* Some other page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ class ShopperInsightsClientUnitTest {
val presentmentDetails = PresentmentDetails(
ExperimentType.TEST,
ButtonOrder.FIRST,
PageType.mini_cart
PageType.MINI_CART
)

val params = AnalyticsEventParams(
Expand All @@ -457,7 +457,7 @@ class ShopperInsightsClientUnitTest {
PresentmentDetails(
ExperimentType.TEST,
ButtonOrder.FIRST,
PageType.mini_cart
PageType.MINI_CART
)
)
verify { braintreeClient.sendAnalyticsEvent("shopper-insights:button-presented",
Expand All @@ -471,7 +471,7 @@ class ShopperInsightsClientUnitTest {
val presentmentDetails = PresentmentDetails(
ExperimentType.CONTROL,
ButtonOrder.SECOND,
PageType.homepage
PageType.HOMEPAGE
)

val params = AnalyticsEventParams(
Expand All @@ -485,7 +485,7 @@ class ShopperInsightsClientUnitTest {
PresentmentDetails(
ExperimentType.CONTROL,
ButtonOrder.SECOND,
PageType.homepage
PageType.HOMEPAGE
)
)
verify { braintreeClient.sendAnalyticsEvent("shopper-insights:button-presented",
Expand Down

0 comments on commit 1cc0285

Please sign in to comment.