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

Added .name file from Jetbrains

parent 77ec1f9e
No related branches found
No related tags found
2 merge requests!28773 direct submission status,!27Draft: Issue/830 http header add version
FitConnect
\ No newline at end of file
......@@ -30,9 +30,9 @@ public class CallbackTest {
// };
var headers = new HeaderDictionary(new Dictionary<string, StringValues> {
{ "callback-timestamp", "1672527599" }, {
{ "callback-timestamp", "4102354800" }, {
"callback-authentication",
"798cd0edb70c08e5b32aa8a18cbbc8ff6b3078c51af6d011ff4e32e470c746234fc4314821fe5185264b029e962bd37de33f3b9fc5f1a93c40ce6672845e90df"
"56740c29a40e6031d9db0cbd1a1b620e2c561a12307eb61ee8ceab22c7c44a65e753cd92f4cbe4386acbfd03064d64f64915fc03f342c818a4f43eb97192b5c0"
}
});
......@@ -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(
"798cd0edb70c08e5b32aa8a18cbbc8ff6b3078c51af6d011ff4e32e470c746234fc4314821fe5185264b029e962bd37de33f3b9fc5f1a93c40ce6672845e90df");
"56740c29a40e6031d9db0cbd1a1b620e2c561a12307eb61ee8ceab22c7c44a65e753cd92f4cbe4386acbfd03064d64f64915fc03f342c818a4f43eb97192b5c0");
}
[Test]
......
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