PostgreSQL Support (#4486)
Co-authored-by: Matthew Penner <matthew@pterodactyl.io>
This commit is contained in:
parent
21613fa602
commit
3bf5a71802
223 changed files with 912 additions and 1052 deletions
|
@ -108,11 +108,12 @@ class VariableValidatorServiceTest extends IntegrationTestCase
|
|||
]);
|
||||
|
||||
$this->assertInstanceOf(Collection::class, $response);
|
||||
$this->assertCount(2, $response);
|
||||
$this->assertSame('BUNGEE_VERSION', $response->get(0)->key);
|
||||
$this->assertSame('123', $response->get(0)->value);
|
||||
$this->assertSame('SERVER_JARFILE', $response->get(1)->key);
|
||||
$this->assertSame('server.jar', $response->get(1)->value);
|
||||
$variables = $response->sortBy('key')->values();
|
||||
$this->assertCount(2, $variables);
|
||||
$this->assertSame('BUNGEE_VERSION', $variables->get(0)->key);
|
||||
$this->assertSame('123', $variables->get(0)->value);
|
||||
$this->assertSame('SERVER_JARFILE', $variables->get(1)->key);
|
||||
$this->assertSame('server.jar', $variables->get(1)->value);
|
||||
}
|
||||
|
||||
public function testNullableEnvironmentVariablesCanBeUsedCorrectly()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue