Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions tests/Integration/Foundation/CloudTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@
namespace Illuminate\Tests\Integration\Foundation;

use Illuminate\Foundation\Cloud;
use Orchestra\Testbench\Attributes\WithConfig;
use Orchestra\Testbench\TestCase;

class CloudTest extends TestCase
{
#[WithConfig('database.connections.pgsql', ['host' => 'test-pooler.pg.laravel.cloud', 'username' => 'test-username', 'password' => 'test-password'])]
public function test_it_can_resolve_core_container_aliases()
{
$this->app['config']->set('database.connections.pgsql', [
'host' => 'test-pooler.pg.laravel.cloud',
'username' => 'test-username',
'password' => 'test-password',
]);

Cloud::configureUnpooledPostgresConnection($this->app);

$this->assertEquals([
Expand Down