Skip to content

Commit

Permalink
try workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Apr 2, 2024
1 parent 57356f2 commit b8019a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- php-version: '8.3'
dependencies: highest
symfony-version: '7.*'
jackalope-version: '2.*'
jackalope-version: 'dev-avoid-utf8_bin-error as 2.0'
php-bench: true

steps:
Expand Down
4 changes: 2 additions & 2 deletions tests/Doctrine/Tests/ODM/PHPCR/Query/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ public function testExecuteParameters(): void
->method('bindValue')
->with(
$this->callback(function (string $key): bool {
return $key === 'kfoo' || $key === 'kbar';
return 'kfoo' === $key || 'kbar' === $key;
}), $this->callback(function (string $value): bool {
return $value === 'bar' || $value === 'foo';
return 'bar' === $value || 'foo' === $value;
})
)
;
Expand Down
1 change: 1 addition & 0 deletions tests/phpunit_doctrine_dbal.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<var name="jackalope.doctrine.dbal.user" value="root" />
<var name="jackalope.doctrine.dbal.password" value="" />
<var name="jackalope.doctrine.dbal.dbname" value="phpcr_odm_tests" />
<var name="jackalope.doctrine.dbal.charset" value="utf8mb4" />
<var name="DOCTRINE_PHPCR_USER" value="admin" />
<var name="DOCTRINE_PHPCR_PASS" value="admin" />
<var name="DOCTRINE_PHPCR_WORKSPACE" value="default" />
Expand Down

0 comments on commit b8019a7

Please sign in to comment.