Merge pull request #6468 from wallabag/fix/test-2.5-merge

Fix test following 2.5 merge into master
This commit is contained in:
Jérémy Benoist 2023-04-24 15:20:05 +02:00 committed by GitHub
commit 81eebb46fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 262 additions and 406 deletions

View file

@ -60,11 +60,11 @@ class AnnotationRepository extends ServiceEntityRepository
public function findOneByIdAndUserId($annotationId, $userId)
{
return $this->createQueryBuilder('a')
->where('a.id = :annotationId')->setParameter('annotationId', $annotationId)
->andWhere('a.user = :userId')->setParameter('userId', $userId)
->setMaxResults(1)
->getQuery()
->getOneOrNullResult();
->where('a.id = :annotationId')->setParameter('annotationId', $annotationId)
->andWhere('a.user = :userId')->setParameter('userId', $userId)
->setMaxResults(1)
->getQuery()
->getOneOrNullResult();
}
/**
@ -90,7 +90,7 @@ class AnnotationRepository extends ServiceEntityRepository
*
* @param int $entryId
*
* @return array
* @return Annotation|null
*/
public function findLastAnnotationByUserId($entryId, $userId)
{

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

652
yarn.lock

File diff suppressed because it is too large Load diff