Skip to content

Commit

Permalink
UHF-10127: Changed duplicate lines to make sonarcloud happy
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti authored and khalima committed May 31, 2024
1 parent 925970f commit efb197d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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']],
],
],
],
Expand All @@ -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();
}
Expand Down

0 comments on commit efb197d

Please sign in to comment.