Skip to content

Commit

Permalink
chore: pre pr checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangoulding committed Jan 30, 2025
1 parent ae98aab commit 461ed7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/models/licence-document-header.model.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ describe('Licence Document Header model', () => {
})
})

describe('when linking to licence entity role', () => {
describe('when linking to licence entity roles', () => {
it('can successfully run a related query', async () => {
const query = await LicenceDocumentHeaderModel.query().innerJoinRelated('licenceEntityRoles')

expect(query).to.exist()
})

it('can eager load the licence entity role', async () => {
it('can eager load the licence entity roles', async () => {
const result = await LicenceDocumentHeaderModel.query()
.findById(testRecord.id)
.withGraphFetched('licenceEntityRoles')
Expand Down

0 comments on commit 461ed7d

Please sign in to comment.