File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
src/test/java/com/exacttarget/fuelsdk Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1616
1717public class ETDataExtensionAdditionalTest {
1818
19- private final static String CLIENT_ID_PROPERTY = "sfmc.username" ;
20- private final static String CLIENT_SECRET_PROPERTY = "sfmc.password" ;
21-
2219 private ETClient client ;
2320
2421 @ Before
2522 public void setup () throws Exception {
26- String clientId = System .getProperty (CLIENT_ID_PROPERTY );
27- String clientSecret = System .getProperty (CLIENT_SECRET_PROPERTY );
23+ String clientId = System .getProperty ("sfmc.username" );
24+ String clientSecret = System .getProperty ("sfmc.password" );
2825
2926 assumeNotNull ("Username is not specified" , clientId );
3027 assumeNotNull ("Password is not specified" , clientSecret );
3128
3229 ETConfiguration configuration = new ETConfiguration ();
33- configuration .set (CLIENT_ID_PROPERTY , clientId );
34- configuration .set (CLIENT_SECRET_PROPERTY , clientSecret );
30+ configuration .set ("clientId" , clientId );
31+ configuration .set ("clientSecret" , clientSecret );
3532
3633 // instantiate ETClient object
3734 client = new ETClient (configuration );
You can’t perform that action at this time.
0 commit comments