Skip to content

Commit

Permalink
Missed a field
Browse files Browse the repository at this point in the history
  • Loading branch information
theRealPadster committed Feb 29, 2024
1 parent 6f6ec74 commit ac500dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/orm/base-model.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6084,7 +6084,6 @@ test.group('Base Model | toObject', (group) => {
})
})

// TODO: I'm not really checking the author, so can probably just remove...
test('add preloaded belongsTo relationship to toObject result', async ({ assert }) => {
class Category extends BaseModel {
@column({ isPrimary: true })
Expand All @@ -6104,9 +6103,6 @@ test.group('Base Model | toObject', (group) => {
@column()
public title: string

@column()
public userId: number

@hasOne(() => Category)
public category: HasOne<typeof Category>
}
Expand Down

0 comments on commit ac500dd

Please sign in to comment.