File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 67
67
$yaml.Type | Should - BeExactly ' Php'
68
68
$yaml.State | Should - BeExactly ' Enabled'
69
69
}
70
+ It - Name ' should download and install couchbase on PHP <version>' - TestCases $testCases {
71
+ param ($path , $version )
72
+ Get-PhpExtension - Path $path | Where-Object { $_.Handle -eq ' couchbase' } | Should - HaveCount 0
73
+ Install-PhpExtension - Extension couchbase - Path $path
74
+ $couchbase = Get-PhpExtension - Path $path | Where-Object { $_.Handle -eq ' couchbase' }
75
+ $couchbase | Should - HaveCount 1
76
+ $couchbase.Type | Should - BeExactly ' Php'
77
+ $couchbase.State | Should - BeExactly ' Enabled'
78
+ }
70
79
It - Name ' should handle multiple extension versions' {
71
80
$phpPath = Join-Path - Path $Global :PHPMANAGER_TESTINSTALLS - ChildPath (New-Guid ).Guid
72
81
Install-Php - Version 7.1 - Architecture x64 - ThreadSafe $true - Path $phpPath
You can’t perform that action at this time.
0 commit comments