You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tasks/AzureContainerAppsV0/Tests/L0.ts
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ describe('AzureContainerAppsV0 Suite', function () {
102
102
assert(tr.succeeded,'AzureContainerAppsV0 task should have succeeded when creating a Container App using an image produced from the Oryx++ builder.');
103
103
104
104
// Validate that the Azure CLI was set up correctly
105
-
assert(tr.stdout.includes('[MOCK] loginAzureRM called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
105
+
assert(tr.stdout.includes('[MOCK] loginAzure called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
106
106
assert(tr.stdout.includes('[MOCK] setAzureCliDynamicInstall called'),'AzureContainerAppsV0 task should have called ensure dynamic installation is enabled for the Azure CLI.');
107
107
108
108
// Validate that the necessary Azure resources were created
@@ -162,7 +162,7 @@ describe('AzureContainerAppsV0 Suite', function () {
162
162
assert(tr.succeeded,'AzureContainerAppsV0 task should have succeeded when creating a Container App using an image produced from a Dockerfile.');
163
163
164
164
// Validate that the Azure CLI was set up correctly
165
-
assert(tr.stdout.includes('[MOCK] loginAzureRM called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
165
+
assert(tr.stdout.includes('[MOCK] loginAzure called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
166
166
assert(tr.stdout.includes('[MOCK] setAzureCliDynamicInstall called'),'AzureContainerAppsV0 task should have called ensure dynamic installation is enabled for the Azure CLI.');
167
167
168
168
// Validate that the necessary Azure resources were created
@@ -217,7 +217,7 @@ describe('AzureContainerAppsV0 Suite', function () {
217
217
assert(tr.succeeded,'AzureContainerAppsV0 task should have succeeded when creating a Container App using an image produced from a previously built image.');
218
218
219
219
// Validate that the Azure CLI was set up correctly
220
-
assert(tr.stdout.includes('[MOCK] loginAzureRM called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
220
+
assert(tr.stdout.includes('[MOCK] loginAzure called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
221
221
assert(tr.stdout.includes('[MOCK] setAzureCliDynamicInstall called'),'AzureContainerAppsV0 task should have called ensure dynamic installation is enabled for the Azure CLI.');
222
222
223
223
// Validate that the necessary Azure resources were created
@@ -261,7 +261,7 @@ describe('AzureContainerAppsV0 Suite', function () {
261
261
assert(tr.succeeded,'AzureContainerAppsV0 task should have succeeded when creating a Container App with a new Container App environment.');
262
262
263
263
// Validate that the Azure CLI was set up correctly
264
-
assert(tr.stdout.includes('[MOCK] loginAzureRM called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
264
+
assert(tr.stdout.includes('[MOCK] loginAzure called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
265
265
assert(tr.stdout.includes('[MOCK] setAzureCliDynamicInstall called'),'AzureContainerAppsV0 task should have called ensure dynamic installation is enabled for the Azure CLI.');
266
266
267
267
// Validate that the necessary Azure resources were created
@@ -308,7 +308,7 @@ describe('AzureContainerAppsV0 Suite', function () {
308
308
assert(tr.succeeded,'AzureContainerAppsV0 task should have succeeded when creating a Container App using a YAML configuration file and an image produced from the Oryx++ builder.');
309
309
310
310
// Validate that the Azure CLI was set up correctly
311
-
assert(tr.stdout.includes('[MOCK] loginAzureRM called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
311
+
assert(tr.stdout.includes('[MOCK] loginAzure called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
312
312
assert(tr.stdout.includes('[MOCK] setAzureCliDynamicInstall called'),'AzureContainerAppsV0 task should have called ensure dynamic installation is enabled for the Azure CLI.');
313
313
314
314
// Validate that the necessary Azure resources were created
@@ -364,7 +364,7 @@ describe('AzureContainerAppsV0 Suite', function () {
364
364
assert(tr.succeeded,'AzureContainerAppsV0 task should have succeeded when creating a Container App using a YAML configuration file and a previously built image.');
365
365
366
366
// Validate that the Azure CLI was set up correctly
367
-
assert(tr.stdout.includes('[MOCK] loginAzureRM called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
367
+
assert(tr.stdout.includes('[MOCK] loginAzure called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
368
368
assert(tr.stdout.includes('[MOCK] setAzureCliDynamicInstall called'),'AzureContainerAppsV0 task should have called ensure dynamic installation is enabled for the Azure CLI.');
369
369
370
370
// Validate that the necessary Azure resources were created
@@ -404,7 +404,7 @@ describe('AzureContainerAppsV0 Suite', function () {
404
404
assert(tr.succeeded,'AzureContainerAppsV0 task should have succeeded when updating an existing Container App using an image produced from the Oryx++ builder.');
405
405
406
406
// Validate that the Azure CLI was set up correctly
407
-
assert(tr.stdout.includes('[MOCK] loginAzureRM called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
407
+
assert(tr.stdout.includes('[MOCK] loginAzure called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
408
408
assert(tr.stdout.includes('[MOCK] setAzureCliDynamicInstall called'),'AzureContainerAppsV0 task should have called ensure dynamic installation is enabled for the Azure CLI.');
409
409
410
410
// Validate that the necessary Azure resources exist
@@ -455,7 +455,7 @@ describe('AzureContainerAppsV0 Suite', function () {
455
455
assert(tr.succeeded,'AzureContainerAppsV0 task should have succeeded when updating an existing Container App using an image produced from a previously built image.');
456
456
457
457
// Validate that the Azure CLI was set up correctly
458
-
assert(tr.stdout.includes('[MOCK] loginAzureRM called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
458
+
assert(tr.stdout.includes('[MOCK] loginAzure called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
459
459
assert(tr.stdout.includes('[MOCK] setAzureCliDynamicInstall called'),'AzureContainerAppsV0 task should have called ensure dynamic installation is enabled for the Azure CLI.');
460
460
461
461
// Validate that the necessary Azure resources exist
@@ -490,7 +490,7 @@ describe('AzureContainerAppsV0 Suite', function () {
490
490
assert(tr.succeeded,'AzureContainerAppsV0 task should have succeeded when updating an existing Container App using a YAML configuration file and a previously built image.');
491
491
492
492
// Validate that the Azure CLI was set up correctly
493
-
assert(tr.stdout.includes('[MOCK] loginAzureRM called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
493
+
assert(tr.stdout.includes('[MOCK] loginAzure called'),'AzureContainerAppsV0 task should authenticate with the provided service connection.');
494
494
assert(tr.stdout.includes('[MOCK] setAzureCliDynamicInstall called'),'AzureContainerAppsV0 task should have called ensure dynamic installation is enabled for the Azure CLI.');
495
495
496
496
// Validate that the necessary Azure resources exist
0 commit comments