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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user