File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 176176 $additionalFiles += $libcouchbaseDll
177177 }
178178 }
179+ ' decimal' {
180+ $libmpdecDll = Join-Path - Path $tempFolder - ChildPath ' libmpdec.dll'
181+ if (Test-Path - LiteralPath $libmpdecDll - PathType Leaf) {
182+ $additionalFiles += $libmpdecDll
183+ }
184+ }
179185 ' imagick' {
180186 $additionalFiles += @ (Get-ChildItem - Path $tempFolder \CORE_* .dll - File - Depth 1 )
181187 $additionalFiles += @ (Get-ChildItem - Path $tempFolder \IM_* .dll - File - Depth 1 )
Original file line number Diff line number Diff line change 116116 $couchbase.Type | Should - BeExactly ' Php'
117117 $couchbase.State | Should - BeExactly ' Enabled'
118118 }
119+ It - Name ' should download and install decimal on PHP <version>' - TestCases $testCases {
120+ param ($path , $version )
121+ Get-PhpExtension - Path $path | Where-Object { $_.Handle -eq ' decimal' } | Should - HaveCount 0
122+ Install-PhpExtension - Extension decimal - Path $path
123+ $decimal = Get-PhpExtension - Path $path | Where-Object { $_.Handle -eq ' decimal' }
124+ $decimal | Should - HaveCount 1
125+ $decimal.Type | Should - BeExactly ' Php'
126+ $decimal.State | Should - BeExactly ' Enabled'
127+ }
119128 It - Name ' should handle multiple extension versions' {
120129 $phpPath = Join-Path - Path $Global :PHPMANAGER_TESTINSTALLS - ChildPath (New-Guid ).Guid
121130 Install-Php - Version 7.1 - Architecture x64 - ThreadSafe $true - Path $phpPath
You can’t perform that action at this time.
0 commit comments