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

Ensure all UI tests pass

This commit is contained in:
2023-05-15 19:44:50 +02:00
parent 7f04dd5fcb
commit 29d17b3880

View File

@ -37,6 +37,20 @@ class TestableConfigurations {
"""),
],
shellOutput: [
"/opt/homebrew/bin/brew --version"
: .instant("""
Homebrew 4.0.17-93-gb0dc84b
Homebrew/homebrew-core (git revision 4113c35d80d; last commit 2023-04-06)
Homebrew/homebrew-cask (git revision bcd8ecb74c; last commit 2023-04-06)
"""),
"/opt/homebrew/bin/php -v"
: .instant("""
PHP 8.2.6 (cli) (built: May 11 2023 12:51:38) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.6, Copyright (c) Zend Technologies
with Zend OPcache v8.2.6, Copyright (c), by Zend Technologies
with Xdebug v3.2.0, Copyright (c) 2002-2022, by Derick Rethans
"""),
"sysctl -n sysctl.proc_translated"
: .instant("0"),
"id -un"
@ -116,7 +130,7 @@ class TestableConfigurations {
cask 'phpmon-dev' do
depends_on formula: 'gnu-sed'
version '6.0.0_2000'
version '6.0.0_1000'
sha256 '1cb147bd1b1fbd52971d90dff577465b644aee7c878f15ede57f46e8f217067a'
url 'https://github.com/nicoverbruggen/phpmon/releases/download/v6.0/phpmon-dev.zip'
@ -152,6 +166,9 @@ class TestableConfigurations {
"/opt/homebrew/bin/php -r echo ini_get('memory_limit');": "512M",
"/opt/homebrew/bin/php -r echo ini_get('upload_max_filesize');": "512M",
"/opt/homebrew/bin/php -r echo ini_get('post_max_size');": "512M",
"/opt/homebrew/opt/php@8.2/bin/php -v": "OK (no full output needed for testing)",
"/opt/homebrew/opt/php@8.1/bin/php -v": "OK (no full output needed for testing)",
"/opt/homebrew/opt/php@8.0/bin/php -v": "OK (no full output needed for testing)"
],
preferenceOverrides: [
.automaticBackgroundUpdateCheck: false