mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-06 14:25:45 -05:00
app(server): rename oom_disabled to oom_killer and invert existing values
This commit is contained in:
@@ -114,7 +114,7 @@ class BuildModificationServiceTest extends IntegrationTestCase
|
||||
$this->daemonServerRepository->expects('sync')->withNoArgs()->andReturnUndefined();
|
||||
|
||||
$response = $this->getService()->handle($server, [
|
||||
'oom_disabled' => false,
|
||||
'oom_killer' => true,
|
||||
'memory' => 256,
|
||||
'swap' => 128,
|
||||
'io' => 600,
|
||||
@@ -126,7 +126,7 @@ class BuildModificationServiceTest extends IntegrationTestCase
|
||||
'allocation_limit' => 20,
|
||||
]);
|
||||
|
||||
$this->assertFalse($response->oom_disabled);
|
||||
$this->assertTrue($response->oom_killer);
|
||||
$this->assertSame(256, $response->memory);
|
||||
$this->assertSame(128, $response->swap);
|
||||
$this->assertSame(600, $response->io);
|
||||
|
||||
Reference in New Issue
Block a user