@@ -159,8 +159,8 @@ public Task init_with_no_source_control()
159
159
160
160
[ Theory ]
161
161
[ InlineData ( "dotnet" , "4" ) ]
162
- [ InlineData ( "node" , "3.0 " ) ]
163
- [ InlineData ( "powershell" , "3.0 " ) ]
162
+ [ InlineData ( "node" , "4 " ) ]
163
+ [ InlineData ( "powershell" , "4 " ) ]
164
164
public Task init_with_Dockerfile ( string workerRuntime , string version )
165
165
{
166
166
return CliTester . Run ( new RunConfiguration
@@ -192,7 +192,7 @@ await CliTester.Run(new RunConfiguration
192
192
new FileResult
193
193
{
194
194
Name = "Dockerfile" ,
195
- ContentContains = new [ ] { $ "FROM mcr.microsoft.com/azure-functions/python:3.0 -python{ worker . Major } .{ worker . Minor } " }
195
+ ContentContains = new [ ] { $ "FROM mcr.microsoft.com/azure-functions/python:4 -python{ worker . Major } .{ worker . Minor } " }
196
196
}
197
197
} ,
198
198
OutputContains = new [ ] { "Dockerfile" }
@@ -229,7 +229,7 @@ public Task init_with_Dockerfile_for_csx()
229
229
{
230
230
Name = "Dockerfile" ,
231
231
ContentNotContains = new [ ] { "dotnet publish" } ,
232
- ContentContains = new [ ] { $ "FROM mcr.microsoft.com/azure-functions/dotnet:3.0 " }
232
+ ContentContains = new [ ] { $ "FROM mcr.microsoft.com/azure-functions/dotnet:4 " }
233
233
}
234
234
} ,
235
235
OutputContains = new [ ] { "Dockerfile" }
@@ -302,7 +302,7 @@ public Task init_ts_app_using_lang(string initCommand)
302
302
Name = "Dockerfile" ,
303
303
ContentContains = new [ ]
304
304
{
305
- "mcr.microsoft.com/azure-functions/node:3.0 " ,
305
+ "mcr.microsoft.com/azure-functions/node:4 " ,
306
306
"npm run build"
307
307
}
308
308
}
@@ -384,8 +384,8 @@ public Task init_ts_app_using_runtime()
384
384
385
385
[ Theory ]
386
386
[ InlineData ( "dotnet" , "4" ) ]
387
- [ InlineData ( "node" , "3.0 " ) ]
388
- [ InlineData ( "powershell" , "3.0 " ) ]
387
+ [ InlineData ( "node" , "4 " ) ]
388
+ [ InlineData ( "powershell" , "4 " ) ]
389
389
public Task init_docker_only_for_existing_project ( string workerRuntime , string version )
390
390
{
391
391
return CliTester . Run ( new RunConfiguration
@@ -423,7 +423,7 @@ public Task init_docker_only_for_csx_project()
423
423
{
424
424
Name = "Dockerfile" ,
425
425
ContentNotContains = new [ ] { "dotnet publish" } ,
426
- ContentContains = new [ ] { $ "FROM mcr.microsoft.com/azure-functions/dotnet:3.0 " }
426
+ ContentContains = new [ ] { $ "FROM mcr.microsoft.com/azure-functions/dotnet:4 " }
427
427
}
428
428
} ,
429
429
OutputContains = new [ ] { "Dockerfile" }
0 commit comments