Skip to content

Commit

Permalink
Fix mapping in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmy committed Dec 28, 2023
1 parent c14d383 commit bc5db65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/job-queue/Tests/Functional/mapping/Job.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<field name="startedAt" column="started_at" type="datetime" nullable="true" />
<field name="stoppedAt" column="stopped_at" type="datetime" nullable="true" />
<field name="data" column="data" type="json" nullable="true" />
<many-to-one field="rootJob" target-entity="Enqueue\JobQueue\Doctrine\Entity\Job" inversed-by="childJobs">
<many-to-one field="rootJob" target-entity="Enqueue\JobQueue\Tests\Functional\Entity\Job" inversed-by="childJobs">
<join-column name="root_job_id" referenced-column-name="id" on-delete="CASCADE" />
</many-to-one>
<one-to-many field="childJobs" target-entity="Enqueue\JobQueue\Doctrine\Entity\Job" mapped-by="rootJob" />
<one-to-many field="childJobs" target-entity="Enqueue\JobQueue\Tests\Functional\Entity\Job" mapped-by="rootJob" />
</entity>
</doctrine-mapping>

0 comments on commit bc5db65

Please sign in to comment.