1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 03:50:08 +02:00

Fix broken tests after test config using 8.2

This commit is contained in:
2023-01-07 12:57:45 +01:00
parent 71e1ed1b93
commit f153fee05c

View File

@ -50,7 +50,7 @@ final class StartupTest: UITestCase {
final func test_get_warning_about_missing_fpm_symlink() throws {
var configuration = TestableConfigurations.working
configuration.filesystem["/opt/homebrew/etc/php/8.1/php-fpm.d/valet-fpm.conf"] = nil
configuration.filesystem["/opt/homebrew/etc/php/8.2/php-fpm.d/valet-fpm.conf"] = nil
let app = XCPMApplication()
app.withConfiguration(configuration)
@ -71,7 +71,7 @@ final class StartupTest: UITestCase {
assertAllExist([
// "Switch to PHP 8.1 (php)" should be visible since it is aliased to `php`
app.menuItems["\("mi_php_switch".localized) 8.1 (php)"],
app.menuItems["\("mi_php_switch".localized) 8.2 (php)"],
// We should see the about and quit items
app.menuItems["mi_about".localized],
app.menuItems["mi_quit".localized]