@@ -20,7 +20,9 @@ public class ExecuteTests : DataFixture
2020 public async Task AllowsStringIds ( )
2121 {
2222 // Given
23- App . Bootstrapper bootstrapper = App . Bootstrapper . Factory . CreateWeb ( Array . Empty < string > ( ) ) ;
23+ App . Bootstrapper bootstrapper = App . Bootstrapper . Factory
24+ . CreateWeb ( Array . Empty < string > ( ) )
25+ . AddSetting ( Keys . Host , "statiq.dev" ) ;
2426 TestFileProvider fileProvider = new TestFileProvider
2527 {
2628 { "/input/foo.md" , "Hi!" } ,
@@ -44,7 +46,9 @@ public async Task AllowsStringIds()
4446 public async Task ExcludesAssetContentType ( )
4547 {
4648 // Given
47- App . Bootstrapper bootstrapper = App . Bootstrapper . Factory . CreateWeb ( Array . Empty < string > ( ) ) ;
49+ App . Bootstrapper bootstrapper = App . Bootstrapper . Factory
50+ . CreateWeb ( Array . Empty < string > ( ) )
51+ . AddSetting ( Keys . Host , "statiq.dev" ) ;
4852 TestFileProvider fileProvider = new TestFileProvider
4953 {
5054 { "/input/foo.md" , "Hi!" } ,
@@ -68,7 +72,9 @@ public async Task ExcludesAssetContentType()
6872 public async Task ToggleFeedWithPath ( )
6973 {
7074 // Given
71- App . Bootstrapper bootstrapper = App . Bootstrapper . Factory . CreateWeb ( Array . Empty < string > ( ) ) ;
75+ App . Bootstrapper bootstrapper = App . Bootstrapper . Factory
76+ . CreateWeb ( Array . Empty < string > ( ) )
77+ . AddSetting ( Keys . Host , "statiq.dev" ) ;
7278 TestFileProvider fileProvider = new TestFileProvider
7379 {
7480 { "/input/foo.md" , "Hi!" } ,
@@ -95,7 +101,9 @@ public async Task ShouldSetCorrectFeedTitle(
95101 string feedTitle , string title , string siteTitle , string expected )
96102 {
97103 // Given
98- App . Bootstrapper bootstrapper = App . Bootstrapper . Factory . CreateWeb ( Array . Empty < string > ( ) ) ;
104+ App . Bootstrapper bootstrapper = App . Bootstrapper . Factory
105+ . CreateWeb ( Array . Empty < string > ( ) )
106+ . AddSetting ( Keys . Host , "statiq.dev" ) ;
99107 if ( siteTitle is object )
100108 {
101109 bootstrapper . AddSetting ( WebKeys . SiteTitle , siteTitle ) ;
@@ -128,7 +136,9 @@ public async Task ShouldSetCorrectFeedDescription(
128136 string feedDescription , string description , string siteDescription , string expected )
129137 {
130138 // Given
131- App . Bootstrapper bootstrapper = App . Bootstrapper . Factory . CreateWeb ( Array . Empty < string > ( ) ) ;
139+ App . Bootstrapper bootstrapper = App . Bootstrapper . Factory
140+ . CreateWeb ( Array . Empty < string > ( ) )
141+ . AddSetting ( Keys . Host , "statiq.dev" ) ;
132142 if ( siteDescription is object )
133143 {
134144 bootstrapper . AddSetting ( WebKeys . SiteDescription , siteDescription ) ;
0 commit comments