Skip to content

Commit

Permalink
Fix Moq versions in more projects (#12751)
Browse files Browse the repository at this point in the history
Missed a few places where Moq is used in my previous PR. We should
probably enable central package management to avoid this in the future.
I've created #12750 to track it.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/12751)
  • Loading branch information
shenglol authored Dec 14, 2023
1 parent 460934a commit 5646341
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.7.30" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="OmniSharp.Extensions.LanguageClient" Version="0.19.9" />
Expand Down
6 changes: 3 additions & 3 deletions src/Bicep.LangServer.IntegrationTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
},
"Moq": {
"type": "Direct",
"requested": "[4.20.69, )",
"resolved": "4.20.69",
"contentHash": "8P/oAUOL8ZVyXnzBBcgdhTsOD1kQbAWfOcMI7KDQO3HqQtzB/0WYLdnMa4Jefv8nu/MQYiiG0IuoJdvG0v0Nig==",
"requested": "[4.18.4, )",
"resolved": "4.18.4",
"contentHash": "IOo+W51+7Afnb0noltJrKxPBSfsgMzTKCw+Re5AMx8l/vBbAbMDOynLik4+lBYIWDJSO0uV7Zdqt7cNb6RZZ+A==",
"dependencies": {
"Castle.Core": "5.1.1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="OmniSharp.Extensions.LanguageClient" Version="0.19.9" />
Expand Down
8 changes: 4 additions & 4 deletions src/Bicep.LangServer.UnitTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
},
"Moq": {
"type": "Direct",
"requested": "[4.20.69, )",
"resolved": "4.20.69",
"contentHash": "8P/oAUOL8ZVyXnzBBcgdhTsOD1kQbAWfOcMI7KDQO3HqQtzB/0WYLdnMa4Jefv8nu/MQYiiG0IuoJdvG0v0Nig==",
"requested": "[4.18.4, )",
"resolved": "4.18.4",
"contentHash": "IOo+W51+7Afnb0noltJrKxPBSfsgMzTKCw+Re5AMx8l/vBbAbMDOynLik4+lBYIWDJSO0uV7Zdqt7cNb6RZZ+A==",
"dependencies": {
"Castle.Core": "5.1.1"
}
Expand Down Expand Up @@ -2122,7 +2122,7 @@
"MSTest.TestFramework": "[3.1.1, )",
"Microsoft.NET.Test.Sdk": "[17.8.0, )",
"Microsoft.VisualStudio.Threading": "[17.7.30, )",
"Moq": "[4.20.69, )",
"Moq": "[4.18.4, )",
"OmniSharp.Extensions.LanguageClient": "[0.19.9, )"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,8 @@
},
"Moq": {
"type": "Transitive",
"resolved": "4.20.69",
"contentHash": "8P/oAUOL8ZVyXnzBBcgdhTsOD1kQbAWfOcMI7KDQO3HqQtzB/0WYLdnMa4Jefv8nu/MQYiiG0IuoJdvG0v0Nig==",
"resolved": "4.18.4",
"contentHash": "IOo+W51+7Afnb0noltJrKxPBSfsgMzTKCw+Re5AMx8l/vBbAbMDOynLik4+lBYIWDJSO0uV7Zdqt7cNb6RZZ+A==",
"dependencies": {
"Castle.Core": "5.1.1"
}
Expand Down Expand Up @@ -2328,7 +2328,7 @@
"Bicep.Core.UnitTests": "[1.0.0, )",
"FluentAssertions": "[6.12.0, )",
"JsonPatch.Net": "[2.1.0, )",
"Moq": "[4.20.69, )",
"Moq": "[4.18.4, )",
"System.IO.Abstractions.TestingHelpers": "[19.2.69, )"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="JsonPatch.Net" Version="2.1.0" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="System.IO.Abstractions.TestingHelpers" Version="19.2.69" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/Bicep.RegistryModuleTool.TestFixtures/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
},
"Moq": {
"type": "Direct",
"requested": "[4.20.69, )",
"resolved": "4.20.69",
"contentHash": "8P/oAUOL8ZVyXnzBBcgdhTsOD1kQbAWfOcMI7KDQO3HqQtzB/0WYLdnMa4Jefv8nu/MQYiiG0IuoJdvG0v0Nig==",
"requested": "[4.18.4, )",
"resolved": "4.18.4",
"contentHash": "IOo+W51+7Afnb0noltJrKxPBSfsgMzTKCw+Re5AMx8l/vBbAbMDOynLik4+lBYIWDJSO0uV7Zdqt7cNb6RZZ+A==",
"dependencies": {
"Castle.Core": "5.1.1"
}
Expand Down
6 changes: 3 additions & 3 deletions src/Bicep.RegistryModuleTool.UnitTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,8 @@
},
"Moq": {
"type": "Transitive",
"resolved": "4.20.69",
"contentHash": "8P/oAUOL8ZVyXnzBBcgdhTsOD1kQbAWfOcMI7KDQO3HqQtzB/0WYLdnMa4Jefv8nu/MQYiiG0IuoJdvG0v0Nig==",
"resolved": "4.18.4",
"contentHash": "IOo+W51+7Afnb0noltJrKxPBSfsgMzTKCw+Re5AMx8l/vBbAbMDOynLik4+lBYIWDJSO0uV7Zdqt7cNb6RZZ+A==",
"dependencies": {
"Castle.Core": "5.1.1"
}
Expand Down Expand Up @@ -2328,7 +2328,7 @@
"Bicep.Core.UnitTests": "[1.0.0, )",
"FluentAssertions": "[6.12.0, )",
"JsonPatch.Net": "[2.1.0, )",
"Moq": "[4.20.69, )",
"Moq": "[4.18.4, )",
"System.IO.Abstractions.TestingHelpers": "[19.2.69, )"
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/Bicep.Tools.Benchmark/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -669,8 +669,8 @@
},
"Moq": {
"type": "Transitive",
"resolved": "4.20.69",
"contentHash": "8P/oAUOL8ZVyXnzBBcgdhTsOD1kQbAWfOcMI7KDQO3HqQtzB/0WYLdnMa4Jefv8nu/MQYiiG0IuoJdvG0v0Nig==",
"resolved": "4.18.4",
"contentHash": "IOo+W51+7Afnb0noltJrKxPBSfsgMzTKCw+Re5AMx8l/vBbAbMDOynLik4+lBYIWDJSO0uV7Zdqt7cNb6RZZ+A==",
"dependencies": {
"Castle.Core": "5.1.1"
}
Expand Down Expand Up @@ -2195,7 +2195,7 @@
"MSTest.TestFramework": "[3.1.1, )",
"Microsoft.NET.Test.Sdk": "[17.8.0, )",
"Microsoft.VisualStudio.Threading": "[17.7.30, )",
"Moq": "[4.20.69, )",
"Moq": "[4.18.4, )",
"OmniSharp.Extensions.LanguageClient": "[0.19.9, )"
}
}
Expand Down

0 comments on commit 5646341

Please sign in to comment.