File tree Expand file tree Collapse file tree 5 files changed +0
-35
lines changed
Common/Commands.ScenarioTests.ResourceManager.Common
Profile/Commands.Profile.Test
Resources/Commands.Resources.Test/ScenarioTests Expand file tree Collapse file tree 5 files changed +0
-35
lines changed Original file line number Diff line number Diff line change 15
15
using Microsoft . Azure . Commands . Common . Authentication ;
16
16
using Microsoft . Azure . Commands . Common . Authentication . Abstractions ;
17
17
using Microsoft . Azure . Commands . Common . Authentication . Models ;
18
- using Microsoft . Azure . Commands . ResourceManager . Common ;
19
18
using Microsoft . Azure . Commands . ScenarioTest ;
20
19
using Microsoft . Azure . ServiceManagemenet . Common . Models ;
21
20
using Microsoft . Azure . Test ;
25
24
using Microsoft . WindowsAzure . Commands . Utilities . Common ;
26
25
using System ;
27
26
using System . Reflection ;
28
- using System . Reflection . Emit ;
29
27
using System . Collections . Generic ;
30
28
using System . Collections . ObjectModel ;
31
29
using System . Diagnostics ;
32
30
using System . IO ;
33
31
using System . Linq ;
34
32
using System . Management . Automation ;
35
- using System . Management . Automation . Runspaces ;
36
33
using System . Net . Http ;
37
- using System . Reflection ;
38
34
using System . Threading ;
39
35
40
36
#if ! NETSTANDARD
@@ -111,16 +107,6 @@ public string RMResourceModule
111
107
}
112
108
}
113
109
114
- // This ResourceManagerStartup.ps1 contains Get-AzureRmAuthorizationChangeLog script
115
- public string RMResourceManagerStartup
116
- {
117
- get
118
- {
119
- return Path . Combine ( this . PackageDirectory ,
120
- @"ResourceManager\AzureResourceManager\AzureRM.Resources\ResourceManagerStartup.ps1" ) ;
121
- }
122
- }
123
-
124
110
public string RMInsightsModule
125
111
{
126
112
get
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ private void RunPsTestWorkflow(
106
106
callingClassName + ".ps1" ,
107
107
helper . RMProfileModule ,
108
108
helper . RMResourceModule ,
109
- helper . RMResourceManagerStartup ,
110
109
helper . RMInsightsModule ) ;
111
110
112
111
try
Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ public void RunPsTestWorkflow(
147
147
"ScenarioTests\\ " + callingClassName + ".ps1" ,
148
148
helper . RMProfileModule ,
149
149
helper . RMResourceModule ,
150
- helper . RMResourceManagerStartup ,
151
150
helper . RMInsightsModule ) ;
152
151
153
152
try
Original file line number Diff line number Diff line change @@ -37,13 +37,6 @@ public RoleAssignmentTests(ITestOutputHelper output)
37
37
XunitTracingInterceptor . AddToContext ( new XunitTracingInterceptor ( output ) ) ;
38
38
}
39
39
40
- [ Fact ( Skip = "Test is failing in CI build for no matching request found but passes locally." ) ]
41
- [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
42
- public void RaAuthorizationChangeLog ( )
43
- {
44
- ResourcesController . NewInstance . RunPsTest ( "Test-RaAuthorizationChangeLog" ) ;
45
- }
46
-
47
40
[ Fact ]
48
41
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
49
42
public void RaClassicAdmins ( )
Original file line number Diff line number Diff line change @@ -302,18 +302,6 @@ function Test-RaUserPermissions
302
302
Assert-Throws { New-AzureRmResourceGroup - Name ' NewGroupFromTest' - Location ' WestUS' }
303
303
}
304
304
305
- <#
306
- . SYNOPSIS
307
- Tests verifies Get-AzureRmAuthorizationChangeLog
308
- #>
309
- function Test-RaAuthorizationChangeLog
310
- {
311
- $log1 = Get-AzureRmAuthorizationChangeLog - startTime 2016 - 07 - 28 - EndTime 2016 - 07 - 28T22:30 :00Z
312
-
313
- # Assert
314
- Assert-True { $log1.Count -ge 1 } " At least one record should be returned for the user"
315
- }
316
-
317
305
<#
318
306
. SYNOPSIS
319
307
Tests verifies creation and deletion of a RoleAssignments by Scope irrespective of the case
You can’t perform that action at this time.
0 commit comments