Skip to content

Commit

Permalink
added missing request parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
steininger committed May 16, 2020
1 parent 1c68aa2 commit 1f721fb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -311,3 +311,5 @@ ModelManifest.xml
/receiptcases/20170401 ft-Geschäftsvorfälle.xlsm
/receiptcases/20170401 ft-Geschäftsvorfälle.xlsm
/receiptcases/20170401 ft-Geschäftsvorfälle.xlsm
/TestData.json
/JournalData.json
2 changes: 1 addition & 1 deletion src/fiskaltrust.ifPOS/v1/de/IDESSCD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public interface IDESSCD
#if WCF
[WebInvoke(BodyStyle = WebMessageBodyStyle.Bare, UriTemplate = "v1/startexportsession", Method = "POST")]
#endif
Task<StartExportSessionResponse> StartExportSessionAsync();
Task<StartExportSessionResponse> StartExportSessionAsync(StartExportSessionRequest request);

[OperationContract(Name = "v1/StartExportSessionByTimeStamp")]
#if WCF
Expand Down
2 changes: 1 addition & 1 deletion test/fiskaltrust.ifPOS.Tests/Helpers/DummyDESSCD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public async Task<FinishTransactionResponse> FinishTransactionAsync(FinishTransa

public Task ExecuteSelfTestAsync() => Task.Factory.StartNew(() => { return; });

public async Task<StartExportSessionResponse> StartExportSessionAsync() => await FromResult(new StartExportSessionResponse());
public async Task<StartExportSessionResponse> StartExportSessionAsync(StartExportSessionRequest request) => await FromResult(new StartExportSessionResponse());

public async Task<StartExportSessionResponse> StartExportSessionByTimeStampAsync(StartExportSessionByTimeStampRequest request) => await FromResult(new StartExportSessionResponse());

Expand Down
2 changes: 1 addition & 1 deletion test/fiskaltrust.ifPOS.Tests/v1/IDESSCD/IDESSCDTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void ExecuteSelfTestAsync_ShouldReturn()
public void StartExportSessionAsync_ShouldReturn()
{
var client = CreateClient();
var result = client.StartExportSessionAsync().Result;
var result = client.StartExportSessionAsync(new StartExportSessionRequest()).Result;
result.Should().NotBeNull();
}

Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.3.1-rc3",
"version": "1.3.1-rc4",
"releaseBranches": [
"^refs/heads/master$",
"^refs/tags/v\\d+(?:\\.\\d+)*(?:-.*)?$"
Expand Down

0 comments on commit 1f721fb

Please sign in to comment.