@@ -28,8 +28,6 @@ public class AzureSqlDatabaseImportExportTests
28
28
public void NewAzureSqlDatabaseExportAttributes ( )
29
29
{
30
30
Type type = typeof ( NewAzureSqlDatabaseExport ) ;
31
- UnitTestHelper . CheckCmdletModifiesData ( type , supportsShouldProcess : false ) ;
32
- UnitTestHelper . CheckConfirmImpact ( type , System . Management . Automation . ConfirmImpact . Low ) ;
33
31
34
32
UnitTestHelper . CheckCmdletParameterAttributes ( type , "ServerName" , isMandatory : true , valueFromPipelineByName : true ) ;
35
33
UnitTestHelper . CheckCmdletParameterAttributes ( type , "DatabaseName" , isMandatory : true , valueFromPipelineByName : true ) ;
@@ -46,8 +44,6 @@ public void NewAzureSqlDatabaseExportAttributes()
46
44
public void NewAzureSqlDatabaseImportAttributes ( )
47
45
{
48
46
Type type = typeof ( NewAzureSqlDatabaseImport ) ;
49
- UnitTestHelper . CheckCmdletModifiesData ( type , supportsShouldProcess : false ) ;
50
- UnitTestHelper . CheckConfirmImpact ( type , System . Management . Automation . ConfirmImpact . Low ) ;
51
47
52
48
UnitTestHelper . CheckCmdletParameterAttributes ( type , "ServerName" , isMandatory : true , valueFromPipelineByName : true ) ;
53
49
UnitTestHelper . CheckCmdletParameterAttributes ( type , "DatabaseName" , isMandatory : true , valueFromPipelineByName : false ) ;
@@ -59,16 +55,14 @@ public void NewAzureSqlDatabaseImportAttributes()
59
55
UnitTestHelper . CheckCmdletParameterAttributes ( type , "AuthenticationType" , isMandatory : false , valueFromPipelineByName : false ) ;
60
56
UnitTestHelper . CheckCmdletParameterAttributes ( type , "Edition" , isMandatory : true , valueFromPipelineByName : false ) ;
61
57
UnitTestHelper . CheckCmdletParameterAttributes ( type , "ServiceObjectiveName" , isMandatory : true , valueFromPipelineByName : false ) ;
62
- UnitTestHelper . CheckCmdletParameterAttributes ( type , "DatabaseMaxSize " , isMandatory : true , valueFromPipelineByName : false ) ;
58
+ UnitTestHelper . CheckCmdletParameterAttributes ( type , "DatabaseMaxSizeBytes " , isMandatory : true , valueFromPipelineByName : false ) ;
63
59
}
64
60
65
61
[ Fact ]
66
62
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
67
63
public void AzureRmSqlDatabaseImportExportStatusAttributes ( )
68
64
{
69
65
Type type = typeof ( GetAzureSqlDatabaseImportExportStatus ) ;
70
- UnitTestHelper . CheckCmdletModifiesData ( type , supportsShouldProcess : false ) ;
71
- UnitTestHelper . CheckConfirmImpact ( type , System . Management . Automation . ConfirmImpact . Low ) ;
72
66
73
67
UnitTestHelper . CheckCmdletParameterAttributes ( type , "OperationStatusLink" , isMandatory : true , valueFromPipelineByName : true ) ;
74
68
}
0 commit comments