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
87d14487
Commit
87d14487
authored
2 years ago
by
Klaus Fischer
Browse files
Options
Downloads
Patches
Plain Diff
Implementing UnitTest for RestCallService
parent
5682c098
No related branches found
No related tags found
1 merge request
!29
830 Version Header
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
BasicUnitTest/RestCallServiceTest.cs
+21
-0
21 additions, 0 deletions
BasicUnitTest/RestCallServiceTest.cs
with
21 additions
and
0 deletions
BasicUnitTest/RestCallServiceTest.cs
0 → 100644
+
21
−
0
View file @
87d14487
using
FitConnect.Services
;
using
Microsoft.Extensions.Logging
;
using
NUnit.Framework
;
namespace
BasicUnitTest
;
internal
class
DummyRestService
:
RestCallService
{
public
DummyRestService
(
string
baseUrl
)
:
base
(
baseUrl
,
null
)
{
}
}
public
class
RestCallServiceTest
{
[
Test
]
public
void
RestCallShouldContainVersionHeader
()
{
var
restCallService
=
new
DummyRestService
(
""
);
}
}
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