diff --git a/modules/helfi_paragraphs_news_list/tests/src/Kernel/ExternalEntityStorage/NewsStorageClientTest.php b/modules/helfi_paragraphs_news_list/tests/src/Kernel/ExternalEntityStorage/NewsStorageClientTest.php index f0da06e57..7636bfb5c 100644 --- a/modules/helfi_paragraphs_news_list/tests/src/Kernel/ExternalEntityStorage/NewsStorageClientTest.php +++ b/modules/helfi_paragraphs_news_list/tests/src/Kernel/ExternalEntityStorage/NewsStorageClientTest.php @@ -112,9 +112,9 @@ public function testQuery(): void { [ 'bool' => [ 'should' => [ - ['term' => ['tags' => 1]], - ['term' => ['tags' => 2]], - ['term' => ['tags' => 3]], + ['term' => ['group' => 'group1']], + ['term' => ['group' => 'group2']], + ['term' => ['group' => 'group3']], ], ], ], @@ -140,7 +140,7 @@ public function testQuery(): void { ->getQuery() ->accessCheck(FALSE) ->condition('name', 'value') - ->condition('tags', [1, 2, 3], 'IN') + ->condition('group', ['group1', 'group2', 'group3'], 'IN') ->condition('name', 'test', 'CONTAINS') ->execute(); }