1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2026-03-30 16:30:09 +02:00

Use fake value for test

This commit is contained in:
2025-11-29 15:45:47 +01:00
parent 51f06b1e9e
commit ac28e4425b

View File

@@ -12,7 +12,9 @@ struct BytePhpPreferenceTest {
var container: Container
init () async throws {
container = Container.real()
container = Container.fake(commands: [
"/opt/homebrew/bin/php -r echo ini_get('memory_limit');": "512M"
])
}
@Test func can_extract_memory_value() throws {