Let memory limit set in tests fit the used amount

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/28122/head
Julius Härtl 5 years ago
parent 4301267373
commit 858d846999
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
  1. 7
      tests/lib/MemoryInfoTest.php

@ -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,],
];
}

Loading…
Cancel
Save