Skip to content

Commit 6629aff

Browse files
Updated cucumber annotations (#244)
1 parent a192bdd commit 6629aff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/functionaltests/java/com/ericsson/ei/subscriptions/authentication/AuthenticationSteps.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class AuthenticationSteps extends FunctionalTestBase {
4040
private ResponseEntity<String> response;
4141
private String token;
4242

43-
@Before("@RESTWithCredentials,@RESTWithSessionCookie")
43+
@Before("@RESTWithCredentials or @RESTWithSessionCookie")
4444
public void beforeScenario() throws Throwable {
4545
httpRequest = new HttpRequest(HttpMethod.GET);
4646
httpRequest.setHost(hostName).setPort(applicationPort).setEndpoint("/auth/logout");

src/functionaltests/java/com/ericsson/ei/subscriptions/repeatHandler/SubscriptionRepeatHandlerSteps.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class SubscriptionRepeatHandlerSteps extends FunctionalTestBase {
8080
@Autowired
8181
private RunSubscription runSubscription;
8282

83-
@Before("@SubscriptionRepeatTrue, @SubscriptionRepeatFalse")
83+
@Before("@SubscriptionRepeatTrue or @SubscriptionRepeatFalse")
8484
public void beforeScenario() throws IOException, JSONException {
8585
assertTrue(mongoDBHandler.insertDocument(dataBaseName, collectionName,
8686
eventManager.getJSONFromFile(AGGREGATED_OBJECT_FILE_PATH).toString()));

0 commit comments

Comments
 (0)