File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/WebJobs.Script/Config
test/WebJobs.Script.Tests.Integration/Host Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public static ScriptSettingsManager Instance
3232
3333 public bool IsDynamicSku => WebsiteSku == ScriptConstants . DynamicSku ;
3434
35- public bool FileSystemIsReadOnly => IsZipDeployment ;
35+ public virtual bool FileSystemIsReadOnly => IsZipDeployment ;
3636
3737 public virtual string AzureWebsiteDefaultSubdomain
3838 {
Original file line number Diff line number Diff line change @@ -484,6 +484,7 @@ public void IsHostHealthy_ReturnsExpectedResult()
484484
485485 bool isAzureEnvironment = false ;
486486 mockSettings . Setup ( p => p . IsAzureEnvironment ) . Returns ( ( ) => isAzureEnvironment ) ;
487+ mockSettings . Setup ( p => p . FileSystemIsReadOnly ) . Returns ( false ) ;
487488
488489 config . HostHealthMonitor . Enabled = false ;
489490 Assert . True ( target . Object . IsHostHealthy ( ) ) ;
You can’t perform that action at this time.
0 commit comments