-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/feature/SELC-5969' into feature/…
…SELC-5969
- Loading branch information
Showing
8 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
apps/user-group-ms/src/main/resources/config/core-config.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
user-group.allowed.sorting.parameters=${ALLOWED_SORTING_PARAMETERS:name} | ||
spring.data.mongodb.uri=${MONGODB_CONNECTION_URI:mongodb://localhost:27017} | ||
spring.data.mongodb.database=${MONGODB_NAME:selcUserGroup} | ||
spring.data.mongodb.database=${MONGODB_NAME:selcUserGroup} | ||
rest-assured.base-url=http://localhost | ||
rest-assured.port=8082 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...roup-ms/src/test/java/it/pagopa/selfcare/user_group/integration_test/steps/FakeSteps.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package it.pagopa.selfcare.user_group.integration_test.steps; | ||
|
||
import io.cucumber.java.en.Then; | ||
import io.cucumber.java.en.When; | ||
|
||
public class FakeSteps extends UserGroupSteps { | ||
|
||
|
||
|
||
@Override | ||
@Then("[FAKE] the response status should be {int}") | ||
public void verifyResponseStatus(int expectedStatusCode) { | ||
super.verifyResponseStatus(expectedStatusCode); | ||
} | ||
|
||
@When("I send a request to {string}") | ||
public void iSendARequestTo(String url) { | ||
status = 200; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Feature: fake | ||
|
||
Scenario: Successfully execute fake test | ||
When I send a request to "/fake" | ||
Then [FAKE] the response status should be 200 |
1 change: 1 addition & 0 deletions
1
apps/user-group-ms/src/test/resources/features/retrieveUserGroup.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@FeatureRetrieve | ||
Feature: Get User Group | ||
|
||
@FirstRetrieveGroupScenario | ||
|
1 change: 1 addition & 0 deletions
1
apps/user-group-ms/src/test/resources/features/updateUserGroup.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@FeatureUpdate | ||
Feature: Update User Group | ||
|
||
@FirstUpdateScenario | ||
|
1 change: 1 addition & 0 deletions
1
apps/user-group-ms/src/test/resources/features/userGroupMembers.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@FeatureMembers | ||
Feature: User Group Members | ||
|
||
@FirstGroupMembersScenario | ||
|