File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/test/java/com/exacttarget/fuelsdk Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1212import static com .exacttarget .fuelsdk .ETResult .Status .OK ;
1313import static org .junit .Assert .assertEquals ;
1414import static org .junit .Assert .assertNotNull ;
15+ import static org .junit .Assume .assumeNotNull ;
1516
1617public class ETDataExtensionAdditionalTest {
1718
18- private final static String CLIENT_ID_PROPERTY = "clientId " ;
19- private final static String CLIENT_SECRET_PROPERTY = "clientSecret " ;
19+ private final static String CLIENT_ID_PROPERTY = "sfmc.username " ;
20+ private final static String CLIENT_SECRET_PROPERTY = "sfmc.password " ;
2021
2122 private ETClient client ;
2223
@@ -25,6 +26,9 @@ public void setup() throws Exception {
2526 String clientId = System .getProperty (CLIENT_ID_PROPERTY );
2627 String clientSecret = System .getProperty (CLIENT_SECRET_PROPERTY );
2728
29+ assumeNotNull ("Username is not specified" , clientId );
30+ assumeNotNull ("Password is not specified" , clientSecret );
31+
2832 ETConfiguration configuration = new ETConfiguration ();
2933 configuration .set (CLIENT_ID_PROPERTY , clientId );
3034 configuration .set (CLIENT_SECRET_PROPERTY , clientSecret );
You can’t perform that action at this time.
0 commit comments