Commit 3ab8760d authored by Wyatt Nielsen's avatar Wyatt Nielsen
Browse files

Fix delivery test

parent 51325cd5
Pipeline #2053 passed with stages
in 17 minutes and 32 seconds
...@@ -43,9 +43,8 @@ public class Steps extends RecordSteps { ...@@ -43,9 +43,8 @@ public class Steps extends RecordSteps {
public void before(Scenario scenario) throws InterruptedException, MalformedURLException { public void before(Scenario scenario) throws InterruptedException, MalformedURLException {
this.scenario = scenario; this.scenario = scenario;
this.httpClient = new AWSHTTPClient(); this.httpClient = new AWSHTTPClient();
ClientResponse respd = legalTagUtils.delete(Config.getLegalTag());
ClientResponse resp = legalTagUtils.create(Config.getLegalTag()); ClientResponse resp = legalTagUtils.create(Config.getLegalTag());
Assert.assertEquals(resp.getStatus(), 201); Assert.assertTrue("Creating LegalTag", resp.getStatus() == 201 || resp.getStatus() == 409);
} }
@After @After
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment