Skip to content

Commit

Permalink
test: remove invalid test now that we have changed error order
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Sep 9, 2024
1 parent 17b84c7 commit ab042e1
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions tests/data/model-validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,31 +189,6 @@ type group
},
],
},
{
name: "no entry point for single type single relation",
friendly: `model
schema 1.1
type user
type group
relations
define group: group from group
`,
expectedError: [
{
endColumn: 17,
endLineNumber: 6,
message: "`group` is an impossible relation for `group` (no entrypoint).",
extraInformation: {
relation: "group",
error: "relation-no-entry-point",
},
severity: 8,
source: "ModelValidationError",
startColumn: 12,
startLineNumber: 6,
},
],
},
{
name: "no entry point for single type multiple relations",
friendly: `model
Expand Down

0 comments on commit ab042e1

Please sign in to comment.