Skip to content

Commit

Permalink
Fix codeception
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-moser committed May 24, 2024
1 parent b8926b3 commit 17f2a50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Functional/OpenSearch/OpenSearchServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function testExistsAlias(): void
$openSearchService = $this->tester->grabService(SearchIndexServiceInterface::class);

$openSearchService->createIndex('test_index');
$openSearchService->putAlias('test_index_alias', 'test_index');
$openSearchService->addAlias('test_index_alias', 'test_index');

$this->assertTrue($openSearchService->existsAlias('test_index_alias', 'test_index'));
$this->assertFalse($openSearchService->existsAlias('test_index_alias', 'test_index2'));
Expand All @@ -165,7 +165,7 @@ public function testDeleteAlias(): void
$openSearchService = $this->tester->grabService(SearchIndexServiceInterface::class);

$openSearchService->createIndex('test_index');
$openSearchService->putAlias('test_index_alias', 'test_index');
$openSearchService->addAlias('test_index_alias', 'test_index');
$this->assertTrue($openSearchService->existsAlias('test_index_alias', 'test_index'));
$openSearchService->deleteAlias('test_index', 'test_index_alias');
$this->assertFalse($openSearchService->existsAlias('test_index_alias', 'test_index'));
Expand Down

0 comments on commit 17f2a50

Please sign in to comment.