Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dadarya0 committed Oct 4, 2024
1 parent e981af0 commit 6a75e4b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Tests/Functional/Helper/QueryFilterHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function testGetCustomValueValueExpression(): void
);

$this->assertMatchWhere(
'test_value.value LIKE :par5',
'test_value.value LIKE :para',
[
'glue' => 'and',
'field' => 'cmf_'.$this->getFixtureById('custom_field1')->getId(),
Expand All @@ -216,7 +216,7 @@ public function testGetCustomValueValueExpression(): void
);

$this->assertMatchWhere(
'test_value.value REGEXP :par6',
'test_value.value REGEXP :parb',
[
'glue' => 'and',
'field' => 'cmf_'.$this->getFixtureById('custom_field1')->getId(),
Expand All @@ -230,7 +230,7 @@ public function testGetCustomValueValueExpression(): void
);

$this->assertMatchWhere(
'test_value.value LIKE :par7',
'test_value.value LIKE :parc',
[
'glue' => 'and',
'field' => 'cmf_'.$this->getFixtureById('custom_field1')->getId(),
Expand All @@ -244,7 +244,7 @@ public function testGetCustomValueValueExpression(): void
);

$this->assertMatchWhere(
'test_value.value LIKE :par8',
'test_value.value LIKE :pard',
[
'glue' => 'and',
'field' => 'cmf_'.$this->getFixtureById('custom_field1')->getId(),
Expand All @@ -258,7 +258,7 @@ public function testGetCustomValueValueExpression(): void
);

$this->assertMatchWhere(
'test_value.value LIKE :par9',
'test_value.value LIKE :pare',
[
'glue' => 'and',
'field' => 'cmf_'.$this->getFixtureById('custom_field1')->getId(),
Expand Down Expand Up @@ -317,7 +317,7 @@ public function testGetCustomValueValueExpression(): void
);

$this->assertMatchWhere(
'test_value.value >= :pard',
'test_value.value >= :pari',
[
'glue' => 'and',
'field' => 'cmf_'.$this->getFixtureById('custom_object_product')->getId(),
Expand All @@ -335,7 +335,7 @@ public function testGetCustomValueValueExpression(): void
);

$this->assertMatchWhere(
'test_value.value <= :pare',
'test_value.value <= :parj',
[
'glue' => 'and',
'field' => 'cmf_'.$this->getFixtureById('custom_object_product')->getId(),
Expand Down

0 comments on commit 6a75e4b

Please sign in to comment.