Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FIT-Connect-SDK - .NET
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FIT-Connect
FIT-Connect-SDK - .NET
Commits
08ee45c4
Commit
08ee45c4
authored
2 years ago
by
Klaus Fischer
Browse files
Options
Downloads
Patches
Plain Diff
Submission without data was possible in Test
parent
a0a9cf24
No related branches found
No related tags found
1 merge request
!15
Feature/580 encrypted data
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
BasicUnitTest/SenderTests.cs
+2
-0
2 additions, 0 deletions
BasicUnitTest/SenderTests.cs
with
2 additions
and
0 deletions
BasicUnitTest/SenderTests.cs
+
2
−
0
View file @
08ee45c4
...
...
@@ -83,6 +83,7 @@ public class SenderTests {
public
void
VerifyMetaData_ValidData_Fine
()
{
// Arrange
var
submission
=
new
Submission
();
submission
.
Data
=
@"{""data"":""value""}"
;
submission
.
ServiceType
.
Identifier
=
leikaKey
;
// Act
...
...
@@ -98,6 +99,7 @@ public class SenderTests {
public
void
VerifyMetaData_MissingLeikaKey_ThrowsAnError
()
{
// Arrange
var
submission
=
new
Submission
();
submission
.
Data
=
@"{""data"":""value""}"
;
// Act
var
metadata
=
Sender
.
CreateMetadata
(
submission
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment