Skip to content

Commit

Permalink
fix field definition
Browse files Browse the repository at this point in the history
  • Loading branch information
fredcarle committed Jan 5, 2024
1 parent 962f4c4 commit 95ee825
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/gen/gen_auto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1352,12 +1352,9 @@ func TestAutoGenerate_IfColDefinitionsAreValid_ShouldGenerate(t *testing.T) {
Kind: client.FieldKind_STRING,
},
{
Name: "owner_id",
Kind: client.FieldKind_FOREIGN_OBJECT,
Schema: "User",
RelationType: client.Relation_Type_ONE |
client.Relation_Type_ONEMANY |
client.Relation_Type_Primary,
Name: "owner_id",
Kind: client.FieldKind_DocKey,
RelationType: client.Relation_Type_INTERNAL_ID,
},
},
},
Expand Down

0 comments on commit 95ee825

Please sign in to comment.