mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2026-03-26 06:00:07 +01:00
♻️ The app can build again (again)!
This commit is contained in:
@@ -38,7 +38,7 @@ struct HomebrewUpgradableTest {
|
||||
|
||||
// This config file assumes our PHP alias (`php`) is v8.2
|
||||
PhpEnvironments.brewPhpAlias = "8.2"
|
||||
let env = PhpEnvironments.shared
|
||||
let env = App.shared.container.phpEnvs
|
||||
env.cachedPhpInstallations = [
|
||||
"8.1": PhpInstallation("8.1.16"),
|
||||
"8.2": PhpInstallation("8.2.3"),
|
||||
|
||||
@@ -11,7 +11,7 @@ import XCTest
|
||||
class PhpVersionDetectionTest: XCTestCase {
|
||||
|
||||
func test_can_detect_valid_php_versions() async throws {
|
||||
let outcome = await PhpEnvironments.shared.extractPhpVersions(
|
||||
let outcome = await App.shared.container.phpEnvs.extractPhpVersions(
|
||||
from: [
|
||||
"", // empty lines should be omitted
|
||||
"php@8.0",
|
||||
|
||||
Reference in New Issue
Block a user