Skip to content

Commit

Permalink
Mark more tests as integration
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Pepper <[email protected]>
  • Loading branch information
kimpepper committed Feb 24, 2025
1 parent 346e4bd commit 0213d18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/Connections/ConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
/**
* @covers \OpenSearch\Connections\Connection
* @group legacy
* @group Integration
*
* @deprecated in 2.4.0 and will be removed in 3.0.0.
*/
Expand Down
2 changes: 2 additions & 0 deletions tests/GuzzleClientFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

/**
* @coversDefaultClass \OpenSearch\GuzzleClientFactory
*
* @group integration
*/
class GuzzleClientFactoryTest extends TestCase
{
Expand Down
5 changes: 3 additions & 2 deletions tests/SymfonyClientFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

/**
* @coversDefaultClass \OpenSearch\SymfonyClientFactory
* @group Integration
*/
class SymfonyClientFactoryTest extends TestCase
{
Expand All @@ -21,7 +22,7 @@ public function testCreate(): void
{
$factory = new SymfonyClientFactory();
$client = $factory->create([
'base_uri' => 'https://localhost:9200',
'base_uri' => 'http://localhost:9200',
'auth_basic' => ['admin', 'password'],
'verify_peer' => false,
]);
Expand All @@ -36,7 +37,7 @@ public function testLegacyOptions(): void
{
$factory = new SymfonyClientFactory();
$client = $factory->create([
'base_uri' => 'https://localhost:9200',
'base_uri' => 'http://localhost:9200',
'auth_basic' => ['admin', 'password'],
'verify_peer' => false,
]);
Expand Down

0 comments on commit 0213d18

Please sign in to comment.