@@ -114,7 +114,7 @@ public void PromotesInstallingSnapshotToInstalledIfNotEquivalentToLatest()
114114 _mockSnapshotComparer . Setup ( _ => _ . AreEquivalent ( _targetPathInstalling , "snapshot" , _mockLogger . Object ) ) . Returns ( false ) ;
115115
116116 var installer = CreateDependenciesSnapshotInstallerWithMocks ( ) ;
117- installer . InstallSnapshot ( manifestEntries , _targetPathInstalled , PowerShell . Create ( ) , removeIfEquivalentToLatest : true , _mockLogger . Object ) ;
117+ installer . InstallSnapshot ( manifestEntries , _targetPathInstalled , PowerShell . Create ( ) , removeIfEquivalentToLatest : true , logger : _mockLogger . Object ) ;
118118
119119 _mockStorage . Verify ( _ => _ . CreateInstallingSnapshot ( _targetPathInstalled ) , Times . Once ) ;
120120 _mockStorage . Verify ( _ => _ . PromoteInstallingSnapshotToInstalledAtomically ( _targetPathInstalled ) , Times . Once ) ;
@@ -130,7 +130,7 @@ public void PromotesInstallingSnapshotToInstalledIfNotAskedToRemoveEquivalentSna
130130 _mockStorage . Setup ( _ => _ . GetLatestInstalledSnapshot ( ) ) . Returns ( "snapshot" ) ;
131131
132132 var installer = CreateDependenciesSnapshotInstallerWithMocks ( ) ;
133- installer . InstallSnapshot ( manifestEntries , _targetPathInstalled , PowerShell . Create ( ) , removeIfEquivalentToLatest : false , _mockLogger . Object ) ;
133+ installer . InstallSnapshot ( manifestEntries , _targetPathInstalled , PowerShell . Create ( ) , removeIfEquivalentToLatest : false , logger : _mockLogger . Object ) ;
134134
135135 _mockSnapshotComparer . VerifyNoOtherCalls ( ) ;
136136 _mockStorage . Verify ( _ => _ . CreateInstallingSnapshot ( _targetPathInstalled ) , Times . Once ) ;
@@ -255,7 +255,7 @@ public void DoesNotPromoteSnapshotIfItIsEquivalentToLatest()
255255 _mockStorage . Setup ( _ => _ . SetSnapshotCreationTimeToUtcNow ( "snapshot" ) ) ;
256256
257257 var installer = CreateDependenciesSnapshotInstallerWithMocks ( ) ;
258- installer . InstallSnapshot ( manifestEntries , _targetPathInstalled , PowerShell . Create ( ) , removeIfEquivalentToLatest : true , _mockLogger . Object ) ;
258+ installer . InstallSnapshot ( manifestEntries , _targetPathInstalled , PowerShell . Create ( ) , removeIfEquivalentToLatest : true , logger : _mockLogger . Object ) ;
259259
260260 _mockStorage . Verify ( _ => _ . PromoteInstallingSnapshotToInstalledAtomically ( It . IsAny < string > ( ) ) , Times . Never ) ;
261261 _mockStorage . Verify ( _ => _ . RemoveSnapshot ( _targetPathInstalling ) , Times . Once ) ;
0 commit comments