File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
src/ECER.Tests/Integration/RegistryApi Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,20 @@ public async Task GetSystemMessages_ReturnsSystemMessages()
7474 systemMessages . ShouldNotBeNull ( ) ;
7575 }
7676
77+ [ Fact ]
78+ public async Task GetDefaultContents_ReturnsDefaultContents ( )
79+ {
80+ var defaultConfigurationsResponse = await Host . Scenario ( _ =>
81+ {
82+ _ . WithExistingUser ( this . Fixture . AuthenticatedBcscUserIdentity , this . Fixture . AuthenticatedBcscUser ) ;
83+ _ . Get . Url ( "/api/defaultContents" ) ;
84+ _ . StatusCodeShouldBeOk ( ) ;
85+ } ) ;
86+
87+ var defaultContents = await defaultConfigurationsResponse . ReadAsJsonAsync < DefaultContent [ ] > ( ) ;
88+ defaultContents . ShouldNotBeNull ( ) ;
89+ }
90+
7791 [ Fact ]
7892 public async Task GetIdentificationTypes_ReturnsIdentificationTypes ( )
7993 {
You can’t perform that action at this time.
0 commit comments