Skip to content

Commit

Permalink
psl: fix an old unit test that now fails cause it doesn't expect the …
Browse files Browse the repository at this point in the history
…existence of the new 'prismaSkipIntegrity' relation mode
  • Loading branch information
ItzSiL3Nce committed Aug 8, 2023
1 parent 3c9438c commit ed91a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psl/psl/tests/attributes/relations/referential_actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ fn foreign_keys_not_allowed_on_mongo() {
"#};

let expected = expect![[r#"
[1;91merror[0m: [1mError validating datasource `relationMode`: Invalid relation mode setting: "foreignKeys". Supported values: "prisma"[0m
[1;91merror[0m: [1mError validating datasource `relationMode`: Invalid relation mode setting: "foreignKeys". Supported values: "prisma", "prismaSkipIntegrity"[0m
--> schema.prisma:3
 | 
 2 |  provider = "mongodb"
Expand Down

0 comments on commit ed91a7b

Please sign in to comment.