Files
runner-images/images/macos/tests/PHP.Tests.ps1
Darii Nurgaleev 0a255311b1 [macOS] Pester tests invocation after install. (#2421)
* [macOS] Fail Pester tests on error

* return it back

* [macOS] Pester tests invokation after install

* fix nitpicks

* CocoaPods fix
2021-01-13 20:46:44 +03:00

15 lines
369 B
PowerShell

Describe "PHP" {
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
}
}
}