diff --git a/tests/Functional/OpenSearch/OpenSearchServiceTest.php b/tests/Functional/OpenSearch/OpenSearchServiceTest.php index 2eda8e96..c0766ce4 100644 --- a/tests/Functional/OpenSearch/OpenSearchServiceTest.php +++ b/tests/Functional/OpenSearch/OpenSearchServiceTest.php @@ -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')); @@ -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'));