mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2026-03-28 23:00:07 +01:00
♻️ All unit tests pass w/ DI container
This commit is contained in:
@@ -9,9 +9,10 @@
|
||||
import XCTest
|
||||
|
||||
class PhpVersionDetectionTest: XCTestCase {
|
||||
|
||||
func test_can_detect_valid_php_versions() async throws {
|
||||
let outcome = await App.shared.container.phpEnvs.extractPhpVersions(
|
||||
let container = Container.real()
|
||||
|
||||
let outcome = await container.phpEnvs.extractPhpVersions(
|
||||
from: [
|
||||
"", // empty lines should be omitted
|
||||
"php@8.0",
|
||||
|
||||
Reference in New Issue
Block a user