Skip to content
Snippets Groups Projects
Commit 1053a96d authored by Klaus Fischer's avatar Klaus Fischer
Browse files

Added simple data to IntegrationTest Sender

parent ac56ee33
No related branches found
No related tags found
1 merge request!24AutoReject planning#594
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<AssemblyVersion></AssemblyVersion> <AssemblyVersion></AssemblyVersion>
<FileVersion></FileVersion> <FileVersion></FileVersion>
<PackageVersion>0.1.0-beta.1</PackageVersion> <PackageVersion>0.1.0-beta.3</PackageVersion>
<Title>FitConnect SDK</Title> <Title>FitConnect SDK</Title>
</PropertyGroup> </PropertyGroup>
......
...@@ -180,8 +180,8 @@ public class Subscriber : FitConnectClient, ...@@ -180,8 +180,8 @@ public class Subscriber : FitConnectClient,
// TODO get data schema for data // TODO get data schema for data
string? dataSchema = null; string? dataSchema = null;
if (dataSchema != null) { if (dataSchema != null) {
if (destinationService.SubmissionSchemas.Select(s => s.SchemaUri) if (destinationService.SubmissionSchemas != null && destinationService.SubmissionSchemas.Select(s => s.SchemaUri)
.Contains(dataSchema)) { .Contains(dataSchema)) {
} }
} }
......
...@@ -78,7 +78,8 @@ public class SenderTestHappyPath : SenderTestBase { ...@@ -78,7 +78,8 @@ public class SenderTestHappyPath : SenderTestBase {
var dut = Sender var dut = Sender
.WithDestination(DestinationId) .WithDestination(DestinationId)
.WithServiceType("ServiceName", "urn:de:fim:leika:leistung:99400048079000") .WithServiceType("ServiceName", "urn:de:fim:leika:leistung:99400048079000")
.WithAttachments(attachments); .WithAttachments(attachments)
.WithJsonData("{\"test\" : \"value\"}");
// Act // Act
dut.Submit(); dut.Submit();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment