Skip to content

Commit

Permalink
fixed record delete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Dec 9, 2022
1 parent e206e30 commit 2c4ac07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/record_crud_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ func TestRecordCrudDelete(t *testing.T) {
ExpectedEvents: map[string]int{
"OnRecordBeforeDeleteRequest": 1,
"OnModelBeforeUpdate": 1, // self_rel_many update of test1 record
"OnModelBeforeDelete": 1, // rel_one_cascade of test1 record
"OnModelBeforeDelete": 2, // the record itself + rel_one_cascade of test1 record
},
},
{
Expand Down

0 comments on commit 2c4ac07

Please sign in to comment.