|
59 | 59 | } |
60 | 60 | } |
61 | 61 | } |
62 | | - It 'should install/get/update/remove PHP 7.3-dev' { |
| 62 | + It 'should install/get/update/remove PHP 7.4-dev' { |
63 | 63 | if ($isNanoServer) { |
64 | 64 | Set-ItResult -Skipped -Because 'it does not seems possible to install the Visual C++ 2019 Redistributables on Windows Nano Server' |
65 | 65 | } |
66 | 66 | if (Test-Path -LiteralPath $phpPath) { |
67 | 67 | Remove-Item -LiteralPath $phpPath -Recurse -Force |
68 | 68 | } |
69 | 69 | try { |
70 | | - Install-Php -Version 7.3snapshot -Architecture x64 -ThreadSafe $true -Path $phpPath -InstallVC |
| 70 | + Install-Php -Version 7.4snapshot -Architecture x64 -ThreadSafe $true -Path $phpPath -InstallVC |
71 | 71 | $initialPhpVersion = Get-Php -Path $phpPath |
72 | 72 | $initialPhpVersion | Should -Not -BeNullOrEmpty |
73 | 73 | $initialPhpVersion.GetType().FullName | Should -BeExactly 'PhpVersionInstalled' |
74 | 74 | $initialPhpVersion.Version | Should -BeOfType [string] |
75 | | - $initialPhpVersion.Version | Should -MatchExactly '^7\.3\.\d+$' |
76 | | - $initialPhpVersion.MajorMinorVersion | Should -BeExactly '7.3' |
| 75 | + $initialPhpVersion.Version | Should -MatchExactly '^7\.4\.\d+$' |
| 76 | + $initialPhpVersion.MajorMinorVersion | Should -BeExactly '7.4' |
77 | 77 | $initialPhpVersion.ComparableVersion | Should -BeOfType [version] |
78 | 78 | $initialPhpVersion.UnstabilityLevel | Should -BeExactly 'snapshot' |
79 | 79 | $initialPhpVersion.UnstabilityVersion | Should -BeNullOrEmpty |
80 | | - $initialPhpVersion.FullVersion | Should -MatchExactly '^7\.3\.\d+-dev$' |
| 80 | + $initialPhpVersion.FullVersion | Should -MatchExactly '^7\.4\.\d+-dev$' |
81 | 81 | $initialPhpVersion.Architecture | Should -BeExactly 'x64' |
82 | 82 | $initialPhpVersion.ThreadSafe | Should -BeExactly $true |
83 | 83 | $initialPhpVersion.VCVersion | Should -BeOfType [int] |
|
91 | 91 | $updatedPhpVersion | Should -Not -BeNullOrEmpty |
92 | 92 | $updatedPhpVersion.GetType().FullName | Should -BeExactly 'PhpVersionInstalled' |
93 | 93 | $updatedPhpVersion.Version | Should -BeOfType [string] |
94 | | - $initialPhpVersion.Version | Should -MatchExactly '^7\.3\.\d+$' |
| 94 | + $initialPhpVersion.Version | Should -MatchExactly '^7\.4\.\d+$' |
95 | 95 | $updatedPhpVersion.ComparableVersion | Should -BeOfType [version] |
96 | 96 | $initialPhpVersion.UnstabilityLevel | Should -BeExactly 'snapshot' |
97 | 97 | $updatedPhpVersion.UnstabilityVersion | Should -BeNullOrEmpty |
98 | | - $initialPhpVersion.FullVersion | Should -MatchExactly '^7\.3\.\d+-dev$' |
| 98 | + $initialPhpVersion.FullVersion | Should -MatchExactly '^7\.4\.\d+-dev$' |
99 | 99 | $updatedPhpVersion.Architecture | Should -BeExactly $initialPhpVersion.Architecture |
100 | 100 | $updatedPhpVersion.ThreadSafe | Should -BeExactly $initialPhpVersion.ThreadSafe |
101 | 101 | $updatedPhpVersion.VCVersion | Should -BeExactly $initialPhpVersion.VCVersion |
|
0 commit comments