We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 679efe9 commit e7f1e71Copy full SHA for e7f1e71
resources/apt/test/apt.tests.ps1
@@ -54,9 +54,7 @@ Describe 'Apt resource tests' {
54
}
55
56
It 'Can install a package' {
57
- if (-not $aptExists) {
58
- Set-ItResult -Skip -Because "Apt not found"
59
- }
+ Set-ItResult -Skip -Because "Apt requires sudo"
60
61
if (apt list $pkgname 2>&1 | Select-String installed ) {
62
apt remove -y $pkgname
@@ -68,9 +66,7 @@ Describe 'Apt resource tests' {
68
66
69
67
70
It 'Can uninstall a package' {
71
72
73
74
75
if ($null -eq (apt list $pkgName 2>&1 | Select-String installed)) {
76
apt install -y $pkgname
0 commit comments