mirror of
https://github.com/valitydev/adapter-flow-lib.git
synced 2024-11-06 00:05:22 +00:00
Fix id (#7)
This commit is contained in:
parent
8a48e7260a
commit
4ae1db1be5
2
pom.xml
2
pom.xml
@ -13,7 +13,7 @@
|
||||
</parent>
|
||||
|
||||
<artifactId>adapter-flow-lib</artifactId>
|
||||
<version>0.0.3</version>
|
||||
<version>0.0.4</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>adapter-flow-lib</name>
|
||||
|
@ -21,6 +21,8 @@ public class RetryProcessor implements Processor<ExitStateModel, BaseResponseMod
|
||||
log.debug("Start redirect process response: {} entryStateModel: {}", response, entryStateModel);
|
||||
ExitStateModel exitStateModel = new ExitStateModel();
|
||||
exitStateModel.setLastOperationStatus(response.getStatus());
|
||||
exitStateModel.setProviderTrxId(entryStateModel.getBaseRequestModel().getProviderTrxId());
|
||||
exitStateModel.setTrxExtra(response.getSaveData());
|
||||
log.debug("Finish redirect process response: {} entryStateModel: {}", response, entryStateModel);
|
||||
return exitStateModel;
|
||||
}
|
||||
|
@ -44,12 +44,8 @@ import static org.mockito.ArgumentMatchers.any;
|
||||
"adapter.callbackUrl=http://localhost:8080/test",
|
||||
"server.rest.endpoint=adapter",
|
||||
"server.rest.port=8083"})
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||
public class PaymentSuccess3dsTest extends AbstractPaymentTest {
|
||||
|
||||
@LocalServerPort
|
||||
int randomServerPort;
|
||||
|
||||
@BeforeEach
|
||||
public void setUp() throws TException {
|
||||
MockitoAnnotations.openMocks(this);
|
||||
|
Loading…
Reference in New Issue
Block a user