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
32
32
33
33
public bool IsDynamicSku => WebsiteSku == ScriptConstants . DynamicSku ;
34
34
35
- public bool FileSystemIsReadOnly => IsZipDeployment ;
35
+ public virtual bool FileSystemIsReadOnly => IsZipDeployment ;
36
36
37
37
public virtual string AzureWebsiteDefaultSubdomain
38
38
{
Original file line number Diff line number Diff line change @@ -484,6 +484,7 @@ public void IsHostHealthy_ReturnsExpectedResult()
484
484
485
485
bool isAzureEnvironment = false ;
486
486
mockSettings . Setup ( p => p . IsAzureEnvironment ) . Returns ( ( ) => isAzureEnvironment ) ;
487
+ mockSettings . Setup ( p => p . FileSystemIsReadOnly ) . Returns ( false ) ;
487
488
488
489
config . HostHealthMonitor . Enabled = false ;
489
490
Assert . True ( target . Object . IsHostHealthy ( ) ) ;
You can’t perform that action at this time.
0 commit comments