Let memory limit set in tests fit the used amount

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2021-07-22 17:05:29 +02:00
parent 4301267373
commit 858d846999
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 3 additions and 4 deletions

View File

@ -60,10 +60,9 @@ class MemoryInfoTest extends TestCase {
public function getMemoryLimitTestData(): array {
return [
'unlimited' => ['-1', -1,],
'0' => ['0', 0,],
'134217728 bytes' => ['134217728', 134217728,],
'128M' => ['128M', 134217728,],
'131072K' => ['131072K', 134217728,],
'524288000 bytes' => ['524288000', 524288000,],
'500M' => ['500M', 524288000,],
'512000K' => ['512000K', 524288000,],
'2G' => ['2G', 2147483648,],
];
}