Skip to content

Commit

Permalink
Remove shipping labels survey from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
irfano committed Jan 16, 2025
1 parent e92235c commit 70c5af3
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.woocommerce.android.ui.feedback
import com.woocommerce.android.BuildConfig
import com.woocommerce.android.ui.feedback.SurveyType.MAIN
import com.woocommerce.android.ui.feedback.SurveyType.PRODUCT
import com.woocommerce.android.ui.feedback.SurveyType.SHIPPING_LABELS
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test

Expand All @@ -20,11 +19,6 @@ class SurveyTypeTest {
assertThat(PRODUCT.url.contains(Regex("product-milestone=$anyDigitAndNothingAfter"))).isTrue()
}

@Test
fun `ShippingLabels SurveyType url should include a milestone tag`() {
assertThat(SHIPPING_LABELS.url.contains(Regex("shipping_label_milestone=$anyDigitAndNothingAfter"))).isTrue()
}

@Test
fun `Main SurveyType url should NOT include a milestone tag`() {
assertThat(MAIN.url.contains(Regex("milestone=$anyDigitAndNothingAfter"))).isFalse()
Expand Down

0 comments on commit 70c5af3

Please sign in to comment.