Skip to content

Commit 1df8740

Browse files
committed
Updated optout tests
1 parent 46c2824 commit 1df8740

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/test/java/suite/optout/TestData.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package suite.optout;
22

33
import app.AppsMap;
4-
import common.EnvUtil;
4+
import app.component.App;
55
import app.component.Operator;
66
import org.junit.jupiter.params.provider.Arguments;
77

@@ -14,7 +14,6 @@
1414
public final class TestData {
1515
public static final String ADVERTISING_ID = "advertising_id";
1616
public static final String OPTED_OUT_SINCE = "opted_out_since";
17-
private static final boolean PHONE_SUPPORT = Boolean.parseBoolean(EnvUtil.getEnv("UID2_E2E_PHONE_SUPPORT"));
1817

1918
private TestData() {
2019
}
@@ -55,7 +54,7 @@ public static Set<Arguments> tokenPhoneArgs() {
5554
);
5655

5756
Set<Arguments> args = new HashSet<>();
58-
if (PHONE_SUPPORT) {
57+
if (App.PHONE_SUPPORT) {
5958
for (Operator operator : operators) {
6059
for (List<String> input : inputs) {
6160
args.add(Arguments.of(input.get(0), operator, operator.getName(), input.get(1), input.get(2)));
@@ -70,7 +69,7 @@ public static Set<Arguments> optoutTokenPhoneArgs() {
7069
Set<List<String>> inputs = generatePhoneSet(1);
7170

7271
Set<Arguments> args = new HashSet<>();
73-
if (PHONE_SUPPORT) {
72+
if (App.PHONE_SUPPORT) {
7473
for (Operator operator : operators) {
7574
for (List<String> input : inputs) {
7675
args.add(Arguments.of(input.get(0), operator, operator.getName(), input.get(1), input.get(2)));

0 commit comments

Comments
 (0)