Skip to content

Commit 43130c6

Browse files
author
Eric Suh
committed
Fix tests
1 parent 10ceb0e commit 43130c6

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,6 @@ indent_size = 2
191191
end_of_line = lf
192192
[*.{cmd, bat}]
193193
end_of_line = crlf
194+
195+
[sdk/cloudmachine/Azure.Projects.Provisioning/tests/Data/*.bicep]
196+
insert_final_newline = false

sdk/cloudmachine/Azure.Projects.AI/src/MaaS/AIServiceFeature.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public AIModelsFeature(string model, string modelVersion)
3131
/// <param name="infrastructure"></param>
3232
protected override void EmitConstructs(ProjectInfrastructure infrastructure)
3333
{
34-
CognitiveServicesAccount cognitiveServices = new("aiservices")
34+
CognitiveServicesAccount cognitiveServices = new("aiservices", resourceVersion: "2024-10-01")
3535
{
3636
Name = infrastructure.ProjectId,
3737
Kind = "AIServices",

sdk/cloudmachine/Azure.Projects.AI/src/OpenAI/OpenAIAccountFeature.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public OpenAIAccountFeature(CognitiveServicesSku? sku = default)
3030
/// <param name="infrastructure"></param>
3131
protected override void EmitConstructs(ProjectInfrastructure infrastructure)
3232
{
33-
CognitiveServicesAccount cognitiveServices = new("openai")
33+
CognitiveServicesAccount cognitiveServices = new("openai", resourceVersion: "2024-10-01")
3434
{
3535
Name = infrastructure.ProjectId,
3636
Kind = "OpenAI",

sdk/provisioning/Azure.Provisioning.CognitiveServices/tests/BasicCognitiveServicesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public async Task CreateTranslation()
5050
@description('The location for the resource(s) to be deployed.')
5151
param location string = resourceGroup().location
5252
53-
resource account 'Microsoft.CognitiveServices/accounts@2024-10-01' = {
53+
resource account 'Microsoft.CognitiveServices/accounts@2025-09-01' = {
5454
name: take('account-${uniqueString(resourceGroup().id)}', 64)
5555
location: location
5656
identity: {

0 commit comments

Comments
 (0)