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
587ac6e1
Commit
587ac6e1
authored
2 years ago
by
Klaus Fischer
Browse files
Options
Downloads
Patches
Plain Diff
Added .name file from Jetbrains
parent
77ec1f9e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!28
773 direct submission status
,
!27
Draft: Issue/830 http header add version
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.idea/.idea.FitConnect/.idea/.name
+1
-0
1 addition, 0 deletions
.idea/.idea.FitConnect/.idea/.name
IntegrationTests/CallbackTest.cs
+4
-4
4 additions, 4 deletions
IntegrationTests/CallbackTest.cs
with
5 additions
and
4 deletions
.idea/.idea.FitConnect/.idea/.name
0 → 100644
+
1
−
0
View file @
587ac6e1
FitConnect
\ No newline at end of file
This diff is collapsed.
Click to expand it.
IntegrationTests/CallbackTest.cs
+
4
−
4
View file @
587ac6e1
...
...
@@ -30,9 +30,9 @@ public class CallbackTest {
// };
var
headers
=
new
HeaderDictionary
(
new
Dictionary
<
string
,
StringValues
>
{
{
"callback-timestamp"
,
"
1672527599
"
},
{
{
"callback-timestamp"
,
"
4102354800
"
},
{
"callback-authentication"
,
"
798cd0e
db
7
0c
08e5b32aa8a18cbbc8ff6b3078
c51a
f6d011ff4e32e470c746234fc4314821fe5185264b029e962bd37de33f3b9fc5f1a93c40ce6672845e90df
"
"
56740c29a40e6031d9
db0c
bd1a1b620e2
c5
6
1a
12307eb61ee8ceab22c7c44a65e753cd92f4cbe4386acbfd03064d64f64915fc03f342c818a4f43eb97192b5c0
"
}
});
...
...
@@ -58,14 +58,14 @@ public class CallbackTest {
// Arrange
//Act
var
authentication
=
FitConnect
.
Subscriber
.
VerifyCallback
(
_callbackSecret
,
1672527599
,
var
authentication
=
FitConnect
.
Subscriber
.
VerifyCallback
(
_callbackSecret
,
4102354800
,
"{\"type\":\"https://schema.fitko.de/fit-connect/submission-api/callbacks/new-submissions\",\"submissionIds\":[\"f39ab143-d91a-474a-b69f-b00f1a1873c2\"]}"
);
// Assert
authentication
.
Should
()
.
Be
(
"
798cd0e
db
7
0c
08e5b32aa8a18cbbc8ff6b3078
c51a
f6d011ff4e32e470c746234fc4314821fe5185264b029e962bd37de33f3b9fc5f1a93c40ce6672845e90df
"
);
"
56740c29a40e6031d9
db0c
bd1a1b620e2
c5
6
1a
12307eb61ee8ceab22c7c44a65e753cd92f4cbe4386acbfd03064d64f64915fc03f342c818a4f43eb97192b5c0
"
);
}
[
Test
]
...
...
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