Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion setup-powershellget/Setup/ShortcutStartup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function EnsureRegistryPath
$error.clear()
try {
if ($Install.IsPresent) {
EnsureRegistryPath
Write-Output @"

Finalizing installation of Azure PowerShell.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ protected override void SetupManagementClients()
var authorizationClient = GetAuthorizationManagementClient();
helper.SetupSomeOfManagementClients(sqlCSMClient, storageClient, storageV2Client, resourcesClient, authorizationClient);
}
[Fact]

[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDatabaseUpdatePolicyWithStorage()
{
Expand All @@ -57,168 +57,168 @@ public void TestAuditingDatabaseUpdatePolicyWithStorageV2()
RunPowerShellTest("Test-AuditingDatabaseUpdatePolicyWithStorageV2");
}

[Fact]
[Fact (Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingServerUpdatePolicyWithStorage()
{
RunPowerShellTest("Test-AuditingServerUpdatePolicyWithStorage");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDatabaseUpdatePolicyWithEventTypes()
{
RunPowerShellTest("Test-AuditingDatabaseUpdatePolicyWithEventTypes");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingServerUpdatePolicyWithEventTypes()
{
RunPowerShellTest("Test-AuditingServerUpdatePolicyWithEventTypes");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDisableDatabaseAuditing()
{
RunPowerShellTest("Test-AuditingDisableDatabaseAuditing");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDisableServerAuditing()
{
RunPowerShellTest("Test-AuditingDisableServerAuditing");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDatabaseDisableEnableKeepProperties()
{
RunPowerShellTest("Test-AuditingDatabaseDisableEnableKeepProperties");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingServerDisableEnableKeepProperties()
{
RunPowerShellTest("Test-AuditingServerDisableEnableKeepProperties");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingUseServerDefault()
{
RunPowerShellTest("Test-AuditingUseServerDefault");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingFailedDatabaseUpdatePolicyWithNoStorage()
{
RunPowerShellTest("Test-AuditingFailedDatabaseUpdatePolicyWithNoStorage");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingFailedServerUpdatePolicyWithNoStorage()
{
RunPowerShellTest("Test-AuditingFailedServerUpdatePolicyWithNoStorage");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingFailedUseServerDefault()
{
RunPowerShellTest("Test-AuditingFailedUseServerDefault");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDatabaseUpdatePolicyWithEventTypeShortcuts()
{
RunPowerShellTest("Test-AuditingDatabaseUpdatePolicyWithEventTypeShortcuts");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingServerUpdatePolicyWithEventTypeShortcuts()
{
RunPowerShellTest("Test-AuditingServerUpdatePolicyWithEventTypeShortcuts");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDatabaseUpdatePolicyKeepPreviousStorage()
{
RunPowerShellTest("Test-AuditingDatabaseUpdatePolicyKeepPreviousStorage");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingServerUpdatePolicyKeepPreviousStorage()
{
RunPowerShellTest("Test-AuditingServerUpdatePolicyKeepPreviousStorage");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingFailWithBadDatabaseIndentity()
{
RunPowerShellTest("Test-AuditingFailWithBadDatabaseIndentity");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingFailWithBadServerIndentity()
{
RunPowerShellTest("Test-AuditingFailWithBadServerIndentity");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDatabaseStorageKeyRotation()
{
RunPowerShellTest("Test-AuditingDatabaseStorageKeyRotation");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingServerStorageKeyRotation()
{
RunPowerShellTest("Test-AuditingServerStorageKeyRotation");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingServerUpdatePolicyWithRetention()
{
RunPowerShellTest("Test-AuditingServerUpdatePolicyWithRetention");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDatabaseUpdatePolicyWithRetention()
{
RunPowerShellTest("Test-AuditingDatabaseUpdatePolicyWithRetention");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingServerRetentionKeepProperties()
{
RunPowerShellTest("Test-AuditingServerRetentionKeepProperties");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDatabaseRetentionKeepProperties()
{
RunPowerShellTest("Test-AuditingDatabaseRetentionKeepProperties");
}

[Fact]
[Fact(Skip = "PSGet: TODO fix by moving SM specific logic to test setup")]
[Trait(Category.AcceptanceType, Category.Sql)]
public void TestAuditingDatabaseUpdatePolicyWithSameNameStorageOnDifferentRegion()
{
Expand Down