2021-09-24 13:56:16 +03:00
|
|
|
$os = Get-OSVersion
|
|
|
|
|
|
|
|
|
|
Describe "PHP" -Skip:($os.IsMonterey) {
|
2021-01-14 00:46:44 +07:00
|
|
|
Context "PHP" {
|
|
|
|
|
It "PHP Path" {
|
|
|
|
|
Get-WhichTool "php" | Should -Not -BeLike "/usr/bin/php*"
|
|
|
|
|
}
|
|
|
|
|
It "PHP version" {
|
|
|
|
|
"php --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
Context "Composer" {
|
|
|
|
|
It "Composer" {
|
|
|
|
|
"composer --version" | Should -ReturnZeroExitCode
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|