diff --git a/tests/ORM/Functional/Driver/Common/Integration/Issue482/AbstractTestCase.php b/tests/ORM/Functional/Driver/Common/Integration/Issue482/AbstractTestCase.php index 6dabed91..a429ad80 100644 --- a/tests/ORM/Functional/Driver/Common/Integration/Issue482/AbstractTestCase.php +++ b/tests/ORM/Functional/Driver/Common/Integration/Issue482/AbstractTestCase.php @@ -41,7 +41,7 @@ public function testSelect(): void ->where(function (QueryBuilder $qb): void { $searchProperties = ['code', 'name', 'trans.title']; foreach ($searchProperties as $propertyName) { - $qb->orWhere($propertyName, 'LIKE', "%eng%"); + $qb->orWhere($propertyName, 'LIKE', '%eng%'); } }) // User want to sort by translation diff --git a/tests/ORM/Functional/Driver/Common/Integration/Issue482/Entity/Translation.php b/tests/ORM/Functional/Driver/Common/Integration/Issue482/Entity/Translation.php index c93126a5..fe0e5204 100644 --- a/tests/ORM/Functional/Driver/Common/Integration/Issue482/Entity/Translation.php +++ b/tests/ORM/Functional/Driver/Common/Integration/Issue482/Entity/Translation.php @@ -4,7 +4,6 @@ namespace Cycle\ORM\Tests\Functional\Driver\Common\Integration\Issue482\Entity; - class Translation { public ?int $id = null;